home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-07-15 | 499.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Above DISC Configuration (other/aboveDISCConfiguration)
| ext
| Unsupported |
1%
| dexvert
| AutoSketch Configuration (other/autoSketchConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Dos Navigator 2 settings (other/dosNavigator2Settings)
| ext
| Unsupported |
1%
| dexvert
| Eureka/Mercury Configuration (other/eurekaMercuryConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Jeepers Configuration (other/jeepersConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Number Munchers Configuration (other/numberMunchersConfiguration)
| ext
| Unsupported |
1%
| dexvert
| OPTune Configuration (other/opTuneConfiguration)
| ext
| Unsupported |
1%
| dexvert
| PDC Prolog Configuration (other/pdcPrologConfiguration)
| ext
| Unsupported |
1%
| dexvert
| PKZMENU Configuration (other/pKZMENUConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Protext Configuration (other/protextConfiguration)
| ext
| Unsupported |
1%
| dexvert
| RAR Configuration (other/rarConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Sango Fighter Configuration (other/sangoFighterConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Stare-EO Workshop configuration (other/stareEOWorkshopConfig)
| ext
| Unsupported |
1%
| dexvert
| Super Angelo Configuration (other/superAngeloConfiguration)
| ext
| Unsupported |
1%
| dexvert
| The Perfect General File (other/thePerfectGeneralFile)
| ext
| Unsupported |
1%
| dexvert
| Vortex ATonce Configuration (other/vortexATonceConfiguration)
| ext
| Unsupported |
1%
| dexvert
| West Adventure Configuration (other/westAdventureConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Wordsearch Mania! Configuration (other/wordsearchManiaConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Z.A.R. Navigator Configuration (other/zarNavigatorConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Zyclunt Configuration (other/zycluntConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Empire II: The Art of War Configuration (other/empire2TheArtOfWarConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Empire Deluxe Configuration (other/empireDeluxeConfig)
| ext
| Unsupported |
1%
| dexvert
| Enlightenment EET archive (other/enlightenmentEETArchive)
| ext
| Unsupported |
1%
| dexvert
| idMAS Configuration (other/idMASConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Inertia Player Configuration (other/inertiaPlayerConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Javelin Configuration (other/javelinConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Kasparov's Gambit Configuration (other/kasparovSGambitConfiguration)
| ext
| Unsupported |
1%
| dexvert
| KGen Configuration (other/kGenConfiguration)
| ext
| Unsupported |
1%
| dexvert
| PLBM Games Configuration (other/plbmGamesConfiguration)
| ext
| Unsupported |
1%
| dexvert
| VGA-Copy Configuration (other/vgaCopyConfiguration)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| TrID
| AceMoney data
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 06 00 00 00 01 00 00 00 | 00 00 00 00 79 01 00 00 |........|....y...|
|00000010| 6f 03 00 00 28 01 00 00 | 2e 00 00 00 05 00 00 00 |o...(...|........|
|00000020| 00 00 00 00 01 00 00 00 | f0 08 00 00 0d 0a 43 53 |........|......CS|
|00000030| 45 20 48 54 4d 4c 20 56 | 61 6c 69 64 61 74 6f 72 |E HTML V|alidator|
|00000040| 20 28 63 29 20 31 39 39 | 37 2d 32 30 30 33 20 62 | (c) 199|7-2003 b|
|00000050| 79 20 41 49 20 49 6e 74 | 65 72 6e 65 74 20 53 6f |y AI Int|ernet So|
|00000060| 6c 75 74 69 6f 6e 73 0d | 0a 68 74 74 70 3a 2f 2f |lutions.|.http://|
|00000070| 77 77 77 2e 68 74 6d 6c | 76 61 6c 69 64 61 74 6f |www.html|validato|
|00000080| 72 2e 63 6f 6d 2f 0d 0a | 0d 0a 54 68 69 73 20 69 |r.com/..|..This i|
|00000090| 73 20 74 68 65 20 63 6f | 6e 66 69 67 75 72 61 74 |s the co|nfigurat|
|000000a0| 69 6f 6e 20 66 6f 72 20 | 43 53 45 20 48 54 4d 4c |ion for |CSE HTML|
|000000b0| 20 56 61 6c 69 64 61 74 | 6f 72 20 50 72 6f 66 65 | Validat|or Profe|
|000000c0| 73 73 69 6f 6e 61 6c 20 | 76 36 2e 30 30 30 30 20 |ssional |v6.0000 |
|000000d0| 61 6e 64 20 61 62 6f 76 | 65 2e 0d 0a 0d 0a 41 6e |and abov|e.....An|
|000000e0| 20 69 6d 70 6f 72 74 61 | 6e 74 20 63 68 61 72 61 | importa|nt chara|
|000000f0| 63 74 65 72 69 73 74 69 | 63 20 6f 66 20 74 68 69 |cteristi|c of thi|
|00000100| 73 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |s config|uration |
|00000110| 69 73 20 74 68 61 74 20 | 74 68 65 20 63 61 74 65 |is that |the cate|
|00000120| 67 6f 72 69 65 73 20 6f | 66 20 48 54 4d 4c 20 61 |gories o|f HTML a|
|00000130| 72 65 20 62 75 69 6c 74 | 20 75 70 6f 6e 20 6f 6e |re built| upon on|
|00000140| 65 20 61 6e 6f 74 68 65 | 72 2e 20 54 68 69 73 20 |e anothe|r. This |
|00000150| 6d 65 61 6e 73 20 74 68 | 61 74 20 69 66 20 79 6f |means th|at if yo|
|00000160| 75 20 77 61 6e 74 20 74 | 6f 20 76 61 6c 69 64 61 |u want t|o valida|
|00000170| 74 65 20 61 67 61 69 6e | 73 74 20 48 54 4d 4c 20 |te again|st HTML |
|00000180| 33 2e 32 2c 20 79 6f 75 | 20 6d 75 73 74 20 61 6c |3.2, you| must al|
|00000190| 73 6f 20 6d 61 6b 65 20 | 74 68 65 20 63 61 74 65 |so make |the cate|
|000001a0| 67 6f 72 79 20 48 54 4d | 4c 20 32 2e 30 20 61 63 |gory HTM|L 2.0 ac|
|000001b0| 74 69 76 65 2c 20 69 6e | 20 61 64 64 69 74 69 6f |tive, in| additio|
|000001c0| 6e 20 74 6f 20 6d 61 6b | 69 6e 67 20 74 68 65 20 |n to mak|ing the |
|000001d0| 63 61 74 65 67 6f 72 79 | 20 48 54 4d 4c 20 33 2e |category| HTML 3.|
|000001e0| 32 20 61 63 74 69 76 65 | 2e 20 49 66 20 79 6f 75 |2 active|. If you|
|000001f0| 20 77 61 6e 74 20 74 6f | 20 76 61 6c 69 64 61 74 | want to| validat|
|00000200| 65 20 61 67 61 69 6e 73 | 74 20 48 54 4d 4c 20 34 |e agains|t HTML 4|
|00000210| 2e 30 2c 20 79 6f 75 20 | 6d 75 73 74 20 6d 61 6b |.0, you |must mak|
|00000220| 65 20 74 68 65 20 63 61 | 74 65 67 6f 72 69 65 73 |e the ca|tegories|
|00000230| 20 48 54 4d 4c 20 32 2e | 30 2c 20 48 54 4d 4c 20 | HTML 2.|0, HTML |
|00000240| 33 2e 32 2c 20 61 6e 64 | 20 48 54 4d 4c 20 34 2e |3.2, and| HTML 4.|
|00000250| 30 20 61 63 74 69 76 65 | 2e 20 59 6f 75 20 63 61 |0 active|. You ca|
|00000260| 6e 6e 6f 74 20 6d 61 6b | 65 20 6a 75 73 74 20 74 |nnot mak|e just t|
|00000270| 68 65 20 63 61 74 65 67 | 6f 72 79 20 48 54 4d 4c |he categ|ory HTML|
|00000280| 20 34 2e 30 20 61 63 74 | 69 76 65 2e 20 54 68 69 | 4.0 act|ive. Thi|
|00000290| 73 20 69 73 20 62 65 63 | 61 75 73 65 20 74 68 65 |s is bec|ause the|
|000002a0| 20 63 61 74 65 67 6f 72 | 79 20 48 54 4d 4c 20 34 | categor|y HTML 4|
|000002b0| 2e 30 20 72 65 71 75 69 | 72 65 73 20 74 68 65 20 |.0 requi|res the |
|000002c0| 63 61 74 65 67 6f 72 79 | 20 48 54 4d 4c 20 33 2e |category| HTML 3.|
|000002d0| 32 20 61 73 20 69 74 73 | 20 22 66 6f 75 6e 64 61 |2 as its| "founda|
|000002e0| 74 69 6f 6e 22 2c 20 61 | 6e 64 20 74 68 65 20 63 |tion", a|nd the c|
|000002f0| 61 74 65 67 6f 72 79 20 | 48 54 4d 4c 20 33 2e 32 |ategory |HTML 3.2|
|00000300| 20 72 65 71 75 69 72 65 | 73 20 74 68 65 20 63 61 | require|s the ca|
|00000310| 74 65 67 6f 72 79 20 48 | 54 4d 4c 20 32 2e 30 20 |tegory H|TML 2.0 |
|00000320| 61 73 20 69 74 73 20 22 | 66 6f 75 6e 64 61 74 69 |as its "|foundati|
|00000330| 6f 6e 22 20 2e 0d 0a 0d | 0a 54 6f 20 76 61 6c 69 |on" ....|.To vali|
|00000340| 64 61 74 65 20 66 6f 72 | 20 4d 69 63 72 6f 73 6f |date for| Microso|
|00000350| 66 74 20 49 6e 74 65 72 | 6e 65 74 20 45 78 70 6c |ft Inter|net Expl|
|00000360| 6f 72 65 72 20 28 4d 69 | 63 72 6f 73 6f 66 74 20 |orer (Mi|crosoft |
|00000370| 49 45 29 2c 20 79 6f 75 | 20 77 69 6c 6c 20 61 6c |IE), you| will al|
|00000380| 73 6f 20 6e 65 65 64 20 | 74 6f 20 6d 61 6b 65 20 |so need |to make |
|00000390| 74 68 65 20 63 61 74 65 | 67 6f 72 69 65 73 20 48 |the cate|gories H|
|000003a0| 54 4d 4c 20 32 2e 30 2c | 20 48 54 4d 4c 20 33 2e |TML 2.0,| HTML 3.|
|000003b0| 32 2c 20 61 6e 64 20 28 | 66 6f 72 20 4d 53 20 49 |2, and (|for MS I|
|000003c0| 45 20 34 2e 30 20 6f 6e | 6c 79 29 20 48 54 4d 4c |E 4.0 on|ly) HTML|
|000003d0| 20 34 2e 30 20 61 63 74 | 69 76 65 20 61 73 20 77 | 4.0 act|ive as w|
|000003e0| 65 6c 6c 20 61 73 20 74 | 68 65 20 63 61 74 65 67 |ell as t|he categ|
|000003f0| 6f 72 79 20 66 6f 72 20 | 74 68 65 20 4d 69 63 72 |ory for |the Micr|
|00000400| 6f 73 6f 66 74 20 49 45 | 20 45 78 74 65 6e 73 69 |osoft IE| Extensi|
|00000410| 6f 6e 73 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |ons you |wish to |
|00000420| 75 73 65 20 28 65 69 74 | 68 65 72 20 33 2e 30 20 |use (eit|her 3.0 |
|00000430| 6f 72 20 34 2e 30 29 2e | 20 49 66 20 79 6f 75 20 |or 4.0).| If you |
|00000440| 6d 61 6b 65 20 74 68 65 | 20 4d 69 63 72 6f 73 6f |make the| Microso|
|00000450| 66 74 20 49 45 20 34 2e | 30 20 45 78 74 65 6e 73 |ft IE 4.|0 Extens|
|00000460| 69 6f 6e 73 20 63 61 74 | 65 67 6f 72 79 20 61 63 |ions cat|egory ac|
|00000470| 74 69 76 65 2c 20 79 6f | 75 20 6d 75 73 74 20 61 |tive, yo|u must a|
|00000480| 6c 73 6f 20 6d 61 6b 65 | 20 74 68 65 20 4d 69 63 |lso make| the Mic|
|00000490| 72 6f 73 6f 66 74 20 49 | 45 20 33 2e 30 20 45 78 |rosoft I|E 3.0 Ex|
|000004a0| 74 65 6e 73 69 6f 6e 73 | 20 63 61 74 65 67 6f 72 |tensions| categor|
|000004b0| 79 20 61 63 74 69 76 65 | 2e 0d 0a 0d 0a 41 20 73 |y active|.....A s|
|000004c0| 69 6d 69 6c 61 72 20 73 | 69 74 75 61 74 69 6f 6e |imilar s|ituation|
|000004d0| 20 61 70 70 6c 69 65 73 | 20 66 6f 72 20 4e 65 74 | applies| for Net|
|000004e0| 73 63 61 70 65 20 45 78 | 74 65 6e 73 69 6f 6e 73 |scape Ex|tensions|
|000004f0| 2e 20 59 6f 75 20 77 69 | 6c 6c 20 68 61 76 65 20 |. You wi|ll have |
|00000500| 74 6f 20 73 65 6c 65 63 | 74 20 74 68 65 20 4e 65 |to selec|t the Ne|
|00000510| 74 73 63 61 70 65 20 45 | 78 74 65 6e 73 69 6f 6e |tscape E|xtension|
|00000520| 20 63 61 74 65 67 6f 72 | 79 20 74 68 61 74 20 79 | categor|y that y|
|00000530| 6f 75 20 77 69 73 68 20 | 74 6f 20 76 61 6c 69 64 |ou wish |to valid|
|00000540| 61 74 65 20 61 67 61 69 | 6e 73 74 2c 20 61 73 20 |ate agai|nst, as |
|00000550| 77 65 6c 6c 20 61 73 20 | 48 54 4d 4c 20 32 2e 30 |well as |HTML 2.0|
|00000560| 2c 20 48 54 4d 4c 20 33 | 2e 32 2c 20 61 6e 64 20 |, HTML 3|.2, and |
|00000570| 6f 74 68 65 72 20 22 66 | 6f 75 6e 64 61 74 69 6f |other "f|oundatio|
|00000580| 6e 22 20 63 61 74 65 67 | 6f 72 69 65 73 20 74 68 |n" categ|ories th|
|00000590| 61 74 20 4e 65 74 73 63 | 61 70 65 20 73 75 70 70 |at Netsc|ape supp|
|000005a0| 6f 72 74 73 2e 0d 0a 0d | 0a 54 68 65 20 57 65 62 |orts....|.The Web|
|000005b0| 54 56 20 63 61 74 65 67 | 6f 72 79 20 72 65 71 75 |TV categ|ory requ|
|000005c0| 69 72 65 73 20 61 74 20 | 6c 65 61 73 74 20 74 68 |ires at |least th|
|000005d0| 65 20 48 54 4d 4c 2c 20 | 4d 69 63 72 6f 73 6f 66 |e HTML, |Microsof|
|000005e0| 74 20 49 45 20 45 78 74 | 65 6e 73 69 6f 6e 73 2c |t IE Ext|ensions,|
|000005f0| 20 4e 65 74 73 63 61 70 | 65 20 45 78 74 65 6e 73 | Netscap|e Extens|
|00000600| 69 6f 6e 73 2c 20 61 6e | 64 20 54 61 62 6c 65 73 |ions, an|d Tables|
|00000610| 20 63 61 74 65 67 6f 72 | 69 65 73 20 61 63 74 69 | categor|ies acti|
|00000620| 76 65 20 66 6f 72 20 66 | 75 6c 6c 20 73 75 70 70 |ve for f|ull supp|
|00000630| 6f 72 74 2e 0d 0a 0d 0a | 54 68 65 20 53 4d 49 4c |ort.....|The SMIL|
|00000640| 2c 20 52 65 61 6c 54 65 | 78 74 2c 20 61 6e 64 20 |, RealTe|xt, and |
|00000650| 57 4d 4c 20 63 61 74 65 | 67 6f 72 69 65 73 20 61 |WML cate|gories a|
|00000660| 72 65 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |re autom|atically|
|00000670| 20 61 63 74 69 76 61 74 | 65 64 20 69 66 20 6e 65 | activat|ed if ne|
|00000680| 65 64 65 64 20 62 79 20 | 74 68 65 20 74 61 67 20 |eded by |the tag |
|00000690| 6e 61 6d 65 20 70 72 6f | 67 72 61 6d 73 20 66 6f |name pro|grams fo|
|000006a0| 72 20 74 68 65 20 72 65 | 73 70 65 63 74 69 76 65 |r the re|spective|
|000006b0| 20 74 61 67 73 2e 0d 0a | 0d 0a 54 68 65 20 53 4d | tags...|..The SM|
|000006c0| 49 4c 20 63 61 74 65 67 | 6f 72 79 20 6f 6e 6c 79 |IL categ|ory only|
|000006d0| 20 72 65 71 75 69 72 65 | 73 20 74 68 65 20 45 6c | require|s the El|
|000006e0| 65 6d 65 6e 74 20 49 64 | 65 6e 74 69 66 69 65 72 |ement Id|entifier|
|000006f0| 73 20 63 61 74 65 67 6f | 72 79 20 61 63 74 69 76 |s catego|ry activ|
|00000700| 65 20 69 66 20 79 6f 75 | 20 77 69 6c 6c 20 75 73 |e if you| will us|
|00000710| 65 20 74 68 65 20 49 44 | 20 61 74 74 72 69 62 75 |e the ID| attribu|
|00000720| 74 65 2e 20 4f 74 68 65 | 72 20 63 61 74 65 67 6f |te. Othe|r catego|
|00000730| 72 69 65 73 20 6d 61 79 | 20 62 65 20 64 65 61 63 |ries may| be deac|
|00000740| 74 69 76 61 74 65 64 2e | 20 54 68 65 20 74 61 67 |tivated.| The tag|
|00000750| 20 6e 61 6d 65 20 70 72 | 6f 67 72 61 6d 20 66 6f | name pr|ogram fo|
|00000760| 72 20 74 68 65 20 53 4d | 49 4c 20 74 61 67 20 61 |r the SM|IL tag a|
|00000770| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 64 69 73 |utomatic|ally dis|
|00000780| 61 62 6c 65 73 20 6d 6f | 73 74 20 6f 74 68 65 72 |ables mo|st other|
|00000790| 20 63 61 74 65 67 6f 72 | 69 65 73 2c 20 73 6f 20 | categor|ies, so |
|000007a0| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |you don'|t have t|
|000007b0| 6f 20 64 69 73 61 62 6c | 65 20 61 6e 79 20 63 61 |o disabl|e any ca|
|000007c0| 74 65 67 6f 72 69 65 73 | 20 66 6f 72 20 53 4d 49 |tegories| for SMI|
|000007d0| 4c 20 73 79 6e 74 61 78 | 20 63 68 65 63 6b 69 6e |L syntax| checkin|
|000007e0| 67 2e 0d 0a 0d 0a 54 68 | 65 20 57 4d 4c 20 63 61 |g.....Th|e WML ca|
|000007f0| 74 65 67 6f 72 79 20 72 | 65 71 75 69 72 65 73 20 |tegory r|equires |
|00000800| 74 68 65 20 58 4d 4c 20 | 31 2e 30 20 63 61 74 65 |the XML |1.0 cate|
|00000810| 67 6f 72 79 2e 0d 0a 0d | 0a 54 68 65 20 64 65 66 |gory....|.The def|
|00000820| 61 75 6c 74 20 69 73 20 | 66 6f 72 20 6d 6f 73 74 |ault is |for most|
|00000830| 20 63 61 74 65 67 6f 72 | 69 65 73 20 74 6f 20 62 | categor|ies to b|
|00000840| 65 20 61 63 74 69 76 65 | 2e 20 54 61 67 20 6e 61 |e active|. Tag na|
|00000850| 6d 65 20 70 72 6f 67 72 | 61 6d 73 20 77 69 6c 6c |me progr|ams will|
|00000860| 20 61 63 74 69 76 61 74 | 65 20 61 6e 64 20 64 65 | activat|e and de|
|00000870| 61 63 74 69 76 61 74 65 | 20 63 65 72 74 61 69 6e |activate| certain|
|00000880| 20 63 61 74 65 67 6f 72 | 69 65 73 20 61 73 20 6e | categor|ies as n|
|00000890| 65 65 64 65 64 2e 0d 0a | 0d 0a 46 6f 72 20 6d 6f |eeded...|..For mo|
|000008a0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |re infor|mation a|
|000008b0| 62 6f 75 74 20 74 68 69 | 73 20 63 6f 6e 66 69 67 |bout thi|s config|
|000008c0| 75 72 61 74 69 6f 6e 20 | 66 69 6c 65 2c 20 70 6c |uration |file, pl|
|000008d0| 65 61 73 65 20 76 69 73 | 69 74 0d 0a 68 74 74 70 |ease vis|it..http|
|000008e0| 3a 2f 2f 77 77 77 2e 68 | 74 6d 6c 76 61 6c 69 64 |://www.h|tmlvalid|
|000008f0| 61 74 6f 72 2e 63 6f 6d | 2f 68 74 6d 6c 76 61 6c |ator.com|/htmlval|
|00000900| 2f 76 36 30 2f 64 6f 63 | 73 2f 63 6f 6e 66 69 67 |/v60/doc|s/config|
|00000910| 75 72 61 74 69 6f 6e 2e | 68 74 6d 6c 01 00 00 00 |uration.|html....|
|00000920| 09 00 00 00 32 30 30 33 | 30 37 31 35 30 01 00 00 |....2003|07150...|
|00000930| 00 80 38 00 00 0d 0a 23 | 6d 73 67 74 79 70 65 3d |..8....#|msgtype=|
|00000940| 24 4d 53 47 5f 43 4f 4d | 4d 45 4e 54 3b 0d 0a 23 |$MSG_COM|MENT;..#|
|00000950| 62 79 74 65 73 3d 67 65 | 74 56 61 6c 75 65 49 6e |bytes=ge|tValueIn|
|00000960| 74 28 31 37 29 3b 0d 0a | 40 41 57 43 68 65 63 6b |t(17);..|@AWCheck|
|00000970| 49 6e 74 65 72 6e 61 6c | 4c 69 6e 6b 73 28 29 3b |Internal|Links();|
|00000980| 0d 0a 0d 0a 2f 2a 20 69 | 66 20 48 54 4d 4c 20 6f |..../* i|f HTML o|
|00000990| 72 20 58 48 54 4d 4c 20 | 64 6f 63 75 6d 65 6e 74 |r XHTML |document|
|000009a0| 20 2a 2f 0d 0a 69 66 20 | 28 20 28 24 64 6f 63 75 | */..if |( ($docu|
|000009b0| 6d 65 6e 74 74 79 70 65 | 3d 3d 30 29 20 7c 7c 20 |menttype|==0) || |
|000009c0| 28 24 64 6f 63 75 6d 65 | 6e 74 74 79 70 65 3d 3d |($docume|nttype==|
|000009d0| 34 29 20 29 20 7b 0d 0a | 20 23 68 74 6d 6c 74 79 |4) ) {..| #htmlty|
|000009e0| 70 65 64 6f 63 3d 31 3b | 0d 0a 7d 0d 0a 65 6c 73 |pedoc=1;|..}..els|
|000009f0| 65 20 7b 0d 0a 20 23 68 | 74 6d 6c 74 79 70 65 64 |e {.. #h|tmltyped|
|00000a00| 6f 63 3d 30 3b 0d 0a 7d | 0d 0a 0d 0a 72 75 6e 50 |oc=0;..}|....runP|
|00000a10| 72 6f 67 72 61 6d 28 32 | 30 29 3b 0d 0a 0d 0a 69 |rogram(2|0);....i|
|00000a20| 66 20 28 20 24 64 6f 63 | 75 6d 65 6e 74 74 79 70 |f ( $doc|umenttyp|
|00000a30| 65 3d 3d 30 20 29 20 7b | 0d 0a 20 4d 65 73 73 61 |e==0 ) {|.. Messa|
|00000a40| 67 65 45 78 28 31 33 2c | 20 31 30 32 30 37 31 35 |geEx(13,| 1020715|
|00000a50| 31 34 36 2c 20 24 4d 53 | 47 5f 43 4f 4d 4d 45 4e |146, $MS|G_COMMEN|
|00000a60| 54 2c 20 22 48 54 4d 4c | 20 64 6f 63 75 6d 65 6e |T, "HTML| documen|
|00000a70| 74 20 64 65 74 65 63 74 | 65 64 2e 22 29 3b 0d 0a |t detect|ed.");..|
|00000a80| 7d 0d 0a 65 6c 73 65 20 | 7b 0d 0a 20 69 66 20 28 |}..else |{.. if (|
|00000a90| 20 24 64 6f 63 75 6d 65 | 6e 74 74 79 70 65 3d 3d | $docume|nttype==|
|00000aa0| 34 20 29 20 7b 0d 0a 20 | 20 4d 65 73 73 61 67 65 |4 ) {.. | Message|
|00000ab0| 45 78 28 31 33 2c 20 31 | 30 32 30 37 31 35 31 34 |Ex(13, 1|02071514|
|00000ac0| 37 2c 20 24 4d 53 47 5f | 43 4f 4d 4d 45 4e 54 2c |7, $MSG_|COMMENT,|
|00000ad0| 20 22 58 48 54 4d 4c 20 | 64 6f 63 75 6d 65 6e 74 | "XHTML |document|
|00000ae0| 20 64 65 74 65 63 74 65 | 64 2e 22 29 3b 0d 0a 20 | detecte|d.");.. |
|00000af0| 7d 0d 0a 20 65 6c 73 65 | 20 7b 0d 0a 20 20 4d 65 |}.. else| {.. Me|
|00000b00| 73 73 61 67 65 45 78 28 | 28 24 64 6f 63 75 6d 65 |ssageEx(|($docume|
|00000b10| 6e 74 74 79 70 65 3d 3d | 31 29 7c 31 32 2c 20 31 |nttype==|1)|12, 1|
|00000b20| 30 32 30 37 31 35 31 39 | 36 2c 20 24 4d 53 47 5f |02071519|6, $MSG_|
|00000b30| 43 4f 4d 4d 45 4e 54 2c | 20 22 53 4d 49 4c 20 64 |COMMENT,| "SMIL d|
|00000b40| 6f 63 75 6d 65 6e 74 20 | 64 65 74 65 63 74 65 64 |ocument |detected|
|00000b50| 2e 22 29 3b 0d 0a 20 20 | 4d 65 73 73 61 67 65 45 |.");.. |MessageE|
|00000b60| 78 28 28 24 64 6f 63 75 | 6d 65 6e 74 74 79 70 65 |x(($docu|menttype|
|00000b70| 3d 3d 32 29 7c 31 32 2c | 20 31 30 32 30 37 31 35 |==2)|12,| 1020715|
|00000b80| 31 39 37 2c 20 24 4d 53 | 47 5f 43 4f 4d 4d 45 4e |197, $MS|G_COMMEN|
|00000b90| 54 2c 20 22 52 65 61 6c | 54 65 78 74 20 64 6f 63 |T, "Real|Text doc|
|00000ba0| 75 6d 65 6e 74 20 64 65 | 74 65 63 74 65 64 2e 22 |ument de|tected."|
|00000bb0| 29 3b 0d 0a 20 20 4d 65 | 73 73 61 67 65 45 78 28 |);.. Me|ssageEx(|
|00000bc0| 28 24 64 6f 63 75 6d 65 | 6e 74 74 79 70 65 3d 3d |($docume|nttype==|
|00000bd0| 33 29 7c 31 32 2c 20 31 | 30 32 30 37 31 35 31 39 |3)|12, 1|02071519|
|00000be0| 38 2c 20 24 4d 53 47 5f | 43 4f 4d 4d 45 4e 54 2c |8, $MSG_|COMMENT,|
|00000bf0| 20 22 57 4d 4c 20 64 6f | 63 75 6d 65 6e 74 20 64 | "WML do|cument d|
|00000c00| 65 74 65 63 74 65 64 2e | 22 29 3b 0d 0a 20 20 4d |etected.|");.. M|
|00000c10| 65 73 73 61 67 65 45 78 | 28 28 24 64 6f 63 75 6d |essageEx|(($docum|
|00000c20| 65 6e 74 74 79 70 65 3d | 3d 35 29 7c 31 32 2c 20 |enttype=|=5)|12, |
|00000c30| 31 30 32 30 37 31 35 31 | 39 39 2c 20 24 4d 53 47 |10207151|99, $MSG|
|00000c40| 5f 43 4f 4d 4d 45 4e 54 | 2c 20 22 43 53 45 20 54 |_COMMENT|, "CSE T|
|00000c50| 65 78 74 20 49 6e 73 65 | 72 74 65 72 20 63 6f 6e |ext Inse|rter con|
|00000c60| 66 69 67 75 72 61 74 69 | 6f 6e 20 64 65 74 65 63 |figurati|on detec|
|00000c70| 74 65 64 2e 22 29 3b 0d | 0a 20 20 4d 65 73 73 61 |ted.");.|. Messa|
|00000c80| 67 65 45 78 28 28 73 65 | 74 46 6c 61 67 28 31 2c |geEx((se|tFlag(1,|
|00000c90| 32 30 39 37 31 35 32 2c | 2d 31 29 3d 3d 31 29 7c |2097152,|-1)==1)||
|00000ca0| 31 32 2c 20 31 30 32 30 | 37 31 35 32 30 30 2c 20 |12, 1020|715200, |
|00000cb0| 24 4d 53 47 5f 43 4f 4d | 4d 45 4e 54 2c 20 22 43 |$MSG_COM|MENT, "C|
|00000cc0| 6f 6c 64 20 46 75 73 69 | 6f 6e 20 28 43 46 4d 4c |old Fusi|on (CFML|
|00000cd0| 29 20 64 6f 63 75 6d 65 | 6e 74 20 64 65 74 65 63 |) docume|nt detec|
|00000ce0| 74 65 64 2e 22 29 3b 0d | 0a 20 7d 0d 0a 7d 0d 0a |ted.");.|. }..}..|
|00000cf0| 0d 0a 24 66 72 61 6d 65 | 73 65 74 74 61 67 75 73 |..$frame|settagus|
|00000d00| 65 64 3d 30 3b 0d 0a 69 | 66 20 28 20 69 73 44 65 |ed=0;..i|f ( isDe|
|00000d10| 66 69 6e 65 64 28 22 66 | 72 61 6d 65 73 65 74 74 |fined("f|ramesett|
|00000d20| 61 67 63 6f 75 6e 74 22 | 29 20 29 20 7b 0d 0a 20 |agcount"|) ) {.. |
|00000d30| 69 66 20 28 20 24 66 72 | 61 6d 65 73 65 74 74 61 |if ( $fr|amesetta|
|00000d40| 67 63 6f 75 6e 74 3e 30 | 29 20 7b 0d 0a 20 20 24 |gcount>0|) {.. $|
|00000d50| 66 72 61 6d 65 73 65 74 | 74 61 67 75 73 65 64 3d |frameset|tagused=|
|00000d60| 31 3b 0d 0a 20 7d 0d 0a | 7d 0d 0a 0d 0a 24 64 6f |1;.. }..|}....$do|
|00000d70| 63 74 79 70 65 76 61 6c | 75 65 3d 67 65 74 56 61 |ctypeval|ue=getVa|
|00000d80| 6c 75 65 53 74 72 69 6e | 67 28 33 29 3b 0d 0a 69 |lueStrin|g(3);..i|
|00000d90| 66 20 28 20 24 66 72 61 | 6d 65 73 65 74 74 61 67 |f ( $fra|mesettag|
|00000da0| 75 73 65 64 20 29 20 7b | 0d 0a 20 69 66 20 28 20 |used ) {|.. if ( |
|00000db0| 73 74 72 6c 65 6e 28 24 | 64 6f 63 74 79 70 65 76 |strlen($|doctypev|
|00000dc0| 61 6c 75 65 29 3e 30 20 | 29 20 7b 0d 0a 20 20 69 |alue)>0 |) {.. i|
|00000dd0| 66 20 28 20 67 65 74 53 | 74 72 69 6e 67 53 74 61 |f ( getS|tringSta|
|00000de0| 72 74 49 6e 64 65 78 28 | 24 64 6f 63 74 79 70 65 |rtIndex(|$doctype|
|00000df0| 76 61 6c 75 65 2c 20 22 | 46 72 61 6d 65 73 65 74 |value, "|Frameset|
|00000e00| 22 29 3c 30 20 29 20 7b | 0d 0a 20 20 20 4d 65 73 |")<0 ) {|.. Mes|
|00000e10| 73 61 67 65 45 78 28 31 | 33 2c 20 31 30 32 30 37 |sageEx(1|3, 10207|
|00000e20| 31 35 31 34 38 2c 20 24 | 4d 53 47 5f 45 52 52 4f |15148, $|MSG_ERRO|
|00000e30| 52 2c 20 27 54 68 69 73 | 20 61 70 70 65 61 72 73 |R, 'This| appears|
|00000e40| 20 74 6f 20 62 65 20 61 | 20 66 72 61 6d 65 73 65 | to be a| framese|
|00000e50| 74 20 64 6f 63 75 6d 65 | 6e 74 20 28 74 68 65 20 |t docume|nt (the |
|00000e60| 22 66 72 61 6d 65 73 65 | 74 22 20 65 6c 65 6d 65 |"framese|t" eleme|
|00000e70| 6e 74 20 77 61 73 20 75 | 73 65 64 29 20 77 69 74 |nt was u|sed) wit|
|00000e80| 68 6f 75 74 20 61 6e 20 | 61 70 70 72 6f 70 72 69 |hout an |appropri|
|00000e90| 61 74 65 20 66 72 61 6d | 65 73 65 74 20 44 4f 43 |ate fram|eset DOC|
|00000ea0| 54 59 50 45 20 64 65 63 | 6c 61 72 61 74 69 6f 6e |TYPE dec|laration|
|00000eb0| 2e 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 66 |. For ex|ample, f|
|00000ec0| 72 61 6d 65 73 65 74 20 | 48 54 4d 4c 20 61 6e 64 |rameset |HTML and|
|00000ed0| 20 58 48 54 4d 4c 20 64 | 6f 63 75 6d 65 6e 74 73 | XHTML d|ocuments|
|00000ee0| 20 73 68 6f 75 6c 64 20 | 62 65 67 69 6e 20 77 69 | should |begin wi|
|00000ef0| 74 68 20 61 20 6c 69 6e | 65 20 73 69 6d 69 6c 61 |th a lin|e simila|
|00000f00| 72 20 74 6f 20 3c 21 44 | 4f 43 54 59 50 45 20 48 |r to <!D|OCTYPE H|
|00000f10| 54 4d 4c 20 50 55 42 4c | 49 43 20 22 2d 2f 2f 57 |TML PUBL|IC "-//W|
|00000f20| 33 43 2f 2f 44 54 44 20 | 48 54 4d 4c 20 34 2e 30 |3C//DTD |HTML 4.0|
|00000f30| 31 20 46 72 61 6d 65 73 | 65 74 2f 2f 45 4e 22 20 |1 Frames|et//EN" |
|00000f40| 22 68 74 74 70 3a 2f 2f | 77 77 77 2e 77 33 2e 6f |"http://|www.w3.o|
|00000f50| 72 67 2f 54 52 2f 68 74 | 6d 6c 34 2f 66 72 61 6d |rg/TR/ht|ml4/fram|
|00000f60| 65 73 65 74 2e 64 74 64 | 22 3e 2e 27 20 2b 20 24 |eset.dtd|">.' + $|
|00000f70| 75 73 69 6e 67 69 6e 74 | 65 64 69 74 6f 72 61 64 |usingint|editorad|
|00000f80| 64 74 61 67 6d 73 67 29 | 3b 0d 0a 20 20 7d 0d 0a |dtagmsg)|;.. }..|
|00000f90| 20 7d 0d 0a 7d 0d 0a 65 | 6c 73 65 20 7b 0d 0a 20 | }..}..e|lse {.. |
|00000fa0| 69 66 20 28 20 67 65 74 | 53 74 72 69 6e 67 53 74 |if ( get|StringSt|
|00000fb0| 61 72 74 49 6e 64 65 78 | 28 24 64 6f 63 74 79 70 |artIndex|($doctyp|
|00000fc0| 65 76 61 6c 75 65 2c 20 | 22 46 72 61 6d 65 73 65 |evalue, |"Framese|
|00000fd0| 74 22 29 3e 30 20 29 20 | 7b 0d 0a 20 20 4d 65 73 |t")>0 ) |{.. Mes|
|00000fe0| 73 61 67 65 45 78 28 31 | 33 2c 20 31 30 32 30 37 |sageEx(1|3, 10207|
|00000ff0| 31 35 31 34 39 2c 20 24 | 4d 53 47 5f 57 41 52 4e |15149, $|MSG_WARN|
|00001000| 49 4e 47 2c 20 27 54 68 | 69 73 20 64 6f 63 75 6d |ING, 'Th|is docum|
|00001010| 65 6e 74 20 77 61 73 20 | 64 65 63 6c 61 72 65 64 |ent was |declared|
|00001020| 20 62 79 20 74 68 65 20 | 44 4f 43 54 59 50 45 20 | by the |DOCTYPE |
|00001030| 64 65 63 6c 61 72 61 74 | 69 6f 6e 20 61 73 20 62 |declarat|ion as b|
|00001040| 65 69 6e 67 20 61 20 66 | 72 61 6d 65 73 65 74 20 |eing a f|rameset |
|00001050| 64 6f 63 75 6d 65 6e 74 | 20 62 75 74 20 74 68 65 |document| but the|
|00001060| 20 22 66 72 61 6d 65 73 | 65 74 22 20 65 6c 65 6d | "frames|et" elem|
|00001070| 65 6e 74 20 77 61 73 20 | 6e 6f 74 20 75 73 65 64 |ent was |not used|
|00001080| 20 6f 72 20 77 61 73 20 | 69 6e 63 6f 72 72 65 63 | or was |incorrec|
|00001090| 74 6c 79 20 75 73 65 64 | 2e 20 43 68 65 63 6b 20 |tly used|. Check |
|000010a0| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |to make |sure tha|
|000010b0| 74 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |t the ap|propriat|
|000010c0| 65 20 44 4f 43 54 59 50 | 45 20 64 65 63 6c 61 72 |e DOCTYP|E declar|
|000010d0| 61 74 69 6f 6e 20 69 73 | 20 62 65 69 6e 67 20 75 |ation is| being u|
|000010e0| 73 65 64 2e 27 29 3b 0d | 0a 20 7d 0d 0a 7d 0d 0a |sed.');.|. }..}..|
|000010f0| 0d 0a 69 66 20 28 20 69 | 73 44 65 66 69 6e 65 64 |..if ( i|sDefined|
|00001100| 28 22 77 6d 6c 74 61 67 | 63 6f 75 6e 74 22 29 20 |("wmltag|count") |
|00001110| 29 20 7b 0d 0a 20 69 66 | 20 28 20 69 73 46 6c 61 |) {.. if| ( isFla|
|00001120| 67 53 65 74 28 32 34 29 | 20 29 20 7b 0d 0a 20 20 |gSet(24)| ) {.. |
|00001130| 69 66 20 28 20 24 64 6f | 63 75 6d 65 6e 74 74 79 |if ( $do|cumentty|
|00001140| 70 65 3d 3d 33 20 29 20 | 7b 20 2f 2a 20 57 4d 4c |pe==3 ) |{ /* WML|
|00001150| 20 2a 2f 0d 0a 20 20 20 | 69 66 20 28 20 21 69 73 | */.. |if ( !is|
|00001160| 44 65 66 69 6e 65 64 28 | 22 78 6d 6c 64 65 63 6c |Defined(|"xmldecl|
|00001170| 61 72 61 74 69 6f 6e 63 | 6f 75 6e 74 22 29 20 29 |arationc|ount") )|
|00001180| 20 7b 0d 0a 20 20 20 20 | 4d 65 73 73 61 67 65 45 | {.. |MessageE|
|00001190| 78 28 31 33 2c 20 31 30 | 32 30 37 31 35 31 35 30 |x(13, 10|20715150|
|000011a0| 2c 20 24 4d 53 47 5f 43 | 4f 4d 4d 45 4e 54 2c 20 |, $MSG_C|OMMENT, |
|000011b0| 27 5b 32 34 5d 20 41 6e | 20 58 4d 4c 20 64 65 63 |'[24] An| XML dec|
|000011c0| 6c 61 72 61 74 69 6f 6e | 20 73 68 6f 75 6c 64 20 |laration| should |
|000011d0| 61 70 70 65 61 72 20 61 | 73 20 74 68 65 20 66 69 |appear a|s the fi|
|000011e0| 72 73 74 20 6c 69 6e 65 | 20 28 6c 69 6e 65 20 31 |rst line| (line 1|
|000011f0| 29 20 6f 66 20 65 76 65 | 72 79 20 58 4d 4c 20 62 |) of eve|ry XML b|
|00001200| 61 73 65 64 20 64 6f 63 | 75 6d 65 6e 74 2e 20 46 |ased doc|ument. F|
|00001210| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 66 6f 72 20 |or examp|le, for |
|00001220| 58 48 54 4d 4c 20 61 6e | 64 20 57 4d 4c 20 64 6f |XHTML an|d WML do|
|00001230| 63 75 6d 65 6e 74 73 2c | 20 73 6f 6d 65 74 68 69 |cuments,| somethi|
|00001240| 6e 67 20 73 69 6d 69 6c | 61 72 20 74 6f 20 3c 3f |ng simil|ar to <?|
|00001250| 78 6d 6c 20 76 65 72 73 | 69 6f 6e 3d 22 31 2e 30 |xml vers|ion="1.0|
|00001260| 22 20 65 6e 63 6f 64 69 | 6e 67 3d 22 55 54 46 2d |" encodi|ng="UTF-|
|00001270| 38 22 3f 3e 20 6f 72 20 | 73 69 6d 70 6c 79 20 3c |8"?> or |simply <|
|00001280| 3f 78 6d 6c 20 76 65 72 | 73 69 6f 6e 3d 22 31 2e |?xml ver|sion="1.|
|00001290| 30 22 3f 3e 20 73 68 6f | 75 6c 64 20 62 65 20 74 |0"?> sho|uld be t|
|000012a0| 68 65 20 66 69 72 73 74 | 20 6c 69 6e 65 2e 27 20 |he first| line.' |
|000012b0| 2b 20 24 75 73 69 6e 67 | 69 6e 74 65 64 69 74 6f |+ $using|intedito|
|000012c0| 72 61 64 64 74 61 67 6d | 73 67 29 3b 0d 0a 20 20 |raddtagm|sg);.. |
|000012d0| 20 7d 0d 0a 20 20 7d 0d | 0a 20 7d 0d 0a 7d 0d 0a | }.. }.|. }..}..|
|000012e0| 0d 0a 69 66 20 28 20 69 | 73 44 65 66 69 6e 65 64 |..if ( i|sDefined|
|000012f0| 28 22 68 74 6d 6c 74 61 | 67 63 6f 75 6e 74 22 29 |("htmlta|gcount")|
|00001300| 20 29 20 7b 0d 0a 20 69 | 66 20 28 20 24 64 6f 63 | ) {.. i|f ( $doc|
|00001310| 75 6d 65 6e 74 74 79 70 | 65 3d 3d 34 20 29 20 7b |umenttyp|e==4 ) {|
|00001320| 20 2f 2a 20 58 48 54 4d | 4c 20 2a 2f 0d 0a 20 20 | /* XHTM|L */.. |
|00001330| 69 66 20 28 20 21 69 73 | 44 65 66 69 6e 65 64 28 |if ( !is|Defined(|
|00001340| 22 78 6d 6c 64 65 63 6c | 61 72 61 74 69 6f 6e 63 |"xmldecl|arationc|
|00001350| 6f 75 6e 74 22 29 20 29 | 20 7b 0d 0a 20 20 20 69 |ount") )| {.. i|
|00001360| 66 20 28 20 69 73 46 6c | 61 67 53 65 74 28 32 34 |f ( isFl|agSet(24|
|00001370| 29 20 29 20 7b 0d 0a 20 | 20 20 20 4d 65 73 73 61 |) ) {.. | Messa|
|00001380| 67 65 45 78 28 31 33 2c | 20 31 30 32 30 37 31 35 |geEx(13,| 1020715|
|00001390| 31 35 31 2c 20 24 4d 53 | 47 5f 43 4f 4d 4d 45 4e |151, $MS|G_COMMEN|
|000013a0| 54 2c 20 27 5b 32 34 5d | 20 54 68 65 20 58 48 54 |T, '[24]| The XHT|
|000013b0| 4d 4c 20 72 65 63 6f 6d | 6d 65 6e 64 61 74 69 6f |ML recom|mendatio|
|000013c0| 6e 20 73 74 72 6f 6e 67 | 6c 79 20 65 6e 63 6f 75 |n strong|ly encou|
|000013d0| 72 61 67 65 73 20 74 68 | 61 74 20 61 6e 20 58 4d |rages th|at an XM|
|000013e0| 4c 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 62 65 |L declar|ation be|
|000013f0| 20 75 73 65 64 20 61 73 | 20 74 68 65 20 66 69 72 | used as| the fir|
|00001400| 73 74 20 6c 69 6e 65 20 | 28 6c 69 6e 65 20 31 29 |st line |(line 1)|
|00001410| 20 6f 66 20 65 76 65 72 | 79 20 58 48 54 4d 4c 20 | of ever|y XHTML |
|00001420| 64 6f 63 75 6d 65 6e 74 | 2e 20 46 6f 72 20 65 78 |document|. For ex|
|00001430| 61 6d 70 6c 65 2c 20 66 | 6f 72 20 58 48 54 4d 4c |ample, f|or XHTML|
|00001440| 20 61 6e 64 20 57 4d 4c | 20 64 6f 63 75 6d 65 6e | and WML| documen|
|00001450| 74 73 2c 20 73 6f 6d 65 | 74 68 69 6e 67 20 73 69 |ts, some|thing si|
|00001460| 6d 69 6c 61 72 20 74 6f | 20 3c 3f 78 6d 6c 20 76 |milar to| <?xml v|
|00001470| 65 72 73 69 6f 6e 3d 22 | 31 2e 30 22 20 65 6e 63 |ersion="|1.0" enc|
|00001480| 6f 64 69 6e 67 3d 22 55 | 54 46 2d 38 22 3f 3e 20 |oding="U|TF-8"?> |
|00001490| 6f 72 20 73 69 6d 70 6c | 79 20 3c 3f 78 6d 6c 20 |or simpl|y <?xml |
|000014a0| 76 65 72 73 69 6f 6e 3d | 22 31 2e 30 22 3f 3e 20 |version=|"1.0"?> |
|000014b0| 73 68 6f 75 6c 64 20 62 | 65 20 74 68 65 20 66 69 |should b|e the fi|
|000014c0| 72 73 74 20 6c 69 6e 65 | 2e 27 20 2b 20 24 75 73 |rst line|.' + $us|
|000014d0| 69 6e 67 69 6e 74 65 64 | 69 74 6f 72 61 64 64 74 |inginted|itoraddt|
|000014e0| 61 67 6d 73 67 20 2b 20 | 27 20 48 6f 77 65 76 65 |agmsg + |' Howeve|
|000014f0| 72 2c 20 69 6e 20 70 72 | 61 63 74 69 63 65 2c 20 |r, in pr|actice, |
|00001500| 63 6f 72 72 65 63 74 6c | 79 20 75 73 69 6e 67 20 |correctl|y using |
|00001510| 61 6e 20 58 4d 4c 20 64 | 65 63 6c 61 72 61 74 69 |an XML d|eclarati|
|00001520| 6f 6e 20 6d 61 79 20 63 | 61 75 73 65 20 70 72 6f |on may c|ause pro|
|00001530| 62 6c 65 6d 73 2c 20 73 | 75 63 68 20 61 73 20 74 |blems, s|uch as t|
|00001540| 72 69 67 67 65 72 69 6e | 67 20 49 6e 74 65 72 6e |riggerin|g Intern|
|00001550| 65 74 20 45 78 70 6c 6f | 72 65 72 20 36 27 20 2b |et Explo|rer 6' +|
|00001560| 20 22 27 22 20 2b 20 27 | 73 20 22 71 75 69 72 6b | "'" + '|s "quirk|
|00001570| 73 22 20 6d 6f 64 65 20 | 28 77 68 69 63 68 20 63 |s" mode |(which c|
|00001580| 61 75 73 65 73 20 6e 6f | 6e 2d 73 74 61 6e 64 61 |auses no|n-standa|
|00001590| 72 64 73 20 63 6f 6d 70 | 6c 69 61 6e 74 20 72 65 |rds comp|liant re|
|000015a0| 6e 64 65 72 69 6e 67 29 | 2e 20 42 65 63 61 75 73 |ndering)|. Becaus|
|000015b0| 65 20 6f 66 20 74 68 69 | 73 2c 20 79 6f 75 20 6d |e of thi|s, you m|
|000015c0| 61 79 20 6e 6f 74 20 77 | 61 6e 74 20 74 6f 20 75 |ay not w|ant to u|
|000015d0| 73 65 20 61 6e 20 58 4d | 4c 20 64 65 63 6c 61 72 |se an XM|L declar|
|000015e0| 61 74 69 6f 6e 2e 20 49 | 66 20 79 6f 75 20 64 6f |ation. I|f you do|
|000015f0| 6e 27 20 2b 20 22 27 22 | 20 2b 20 27 74 2c 20 74 |n' + "'"| + 't, t|
|00001600| 68 65 6e 20 73 70 65 63 | 69 66 79 20 74 68 65 20 |hen spec|ify the |
|00001610| 63 68 61 72 61 63 74 65 | 72 20 65 6e 63 6f 64 69 |characte|r encodi|
|00001620| 6e 67 20 69 6e 20 74 68 | 65 20 22 68 65 61 64 22 |ng in th|e "head"|
|00001630| 20 73 65 63 74 69 6f 6e | 20 77 69 74 68 20 61 20 | section| with a |
|00001640| 6d 65 74 61 20 74 61 67 | 20 73 75 63 68 20 61 73 |meta tag| such as|
|00001650| 20 3c 6d 65 74 61 20 68 | 74 74 70 2d 65 71 75 69 | <meta h|ttp-equi|
|00001660| 76 3d 22 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 22 |v="Conte|nt-Type"|
|00001670| 20 63 6f 6e 74 65 6e 74 | 3d 22 74 65 78 74 2f 68 | content|="text/h|
|00001680| 74 6d 6c 3b 20 63 68 61 | 72 73 65 74 3d 75 73 2d |tml; cha|rset=us-|
|00001690| 61 73 63 69 69 22 20 2f | 3e 27 29 3b 0d 0a 20 20 |ascii" /|>');.. |
|000016a0| 20 7d 0d 0a 20 20 7d 0d | 0a 20 7d 0d 0a 0d 0a 20 | }.. }.|. }.... |
|000016b0| 69 66 20 28 20 28 21 69 | 73 44 65 66 69 6e 65 64 |if ( (!i|sDefined|
|000016c0| 28 22 66 72 61 6d 65 73 | 65 74 74 61 67 63 6f 75 |("frames|ettagcou|
|000016d0| 6e 74 22 29 29 20 26 26 | 20 28 21 69 73 44 65 66 |nt")) &&| (!isDef|
|000016e0| 69 6e 65 64 28 22 62 6f | 64 79 74 61 67 63 6f 75 |ined("bo|dytagcou|
|000016f0| 6e 74 22 29 29 20 29 20 | 7b 0d 0a 20 20 4d 65 73 |nt")) ) |{.. Mes|
|00001700| 73 61 67 65 45 78 28 28 | 67 65 74 56 61 6c 75 65 |sageEx((|getValue|
|00001710| 49 6e 74 28 31 39 29 3d | 3d 30 29 7c 31 32 2c 20 |Int(19)=|=0)|12, |
|00001720| 31 30 32 30 37 31 35 32 | 30 31 2c 20 24 4d 53 47 |10207152|01, $MSG|
|00001730| 5f 57 41 52 4e 49 4e 47 | 2c 20 27 41 6e 20 22 68 |_WARNING|, 'An "h|
|00001740| 74 6d 6c 22 20 73 65 63 | 74 69 6f 6e 20 77 61 73 |tml" sec|tion was|
|00001750| 20 66 6f 75 6e 64 20 62 | 75 74 20 69 74 20 64 69 | found b|ut it di|
|00001760| 64 20 6e 6f 74 20 63 6f | 6e 74 61 69 6e 20 61 20 |d not co|ntain a |
|00001770| 22 66 72 61 6d 65 73 65 | 74 22 20 6f 72 20 22 62 |"framese|t" or "b|
|00001780| 6f 64 79 22 20 73 65 63 | 74 69 6f 6e 2e 20 59 6f |ody" sec|tion. Yo|
|00001790| 75 20 73 68 6f 75 6c 64 | 20 69 6e 63 6c 75 64 65 |u should| include|
|000017a0| 20 6f 6e 65 20 6f 66 20 | 74 68 65 73 65 20 73 65 | one of |these se|
|000017b0| 63 74 69 6f 6e 73 2e 27 | 29 3b 0d 0a 20 7d 0d 0a |ctions.'|);.. }..|
|000017c0| 0d 0a 20 69 66 20 28 20 | 69 73 46 6c 61 67 53 65 |.. if ( |isFlagSe|
|000017d0| 74 28 32 34 29 20 26 26 | 20 28 24 68 74 6d 6c 74 |t(24) &&| ($htmlt|
|000017e0| 79 70 65 64 6f 63 3d 3d | 31 29 20 29 20 7b 0d 0a |ypedoc==|1) ) {..|
|000017f0| 20 20 69 66 20 28 20 21 | 69 73 44 65 66 69 6e 65 | if ( !|isDefine|
|00001800| 64 28 22 64 6f 63 74 79 | 70 65 63 6f 75 6e 74 22 |d("docty|pecount"|
|00001810| 29 20 29 20 7b 0d 0a 20 | 20 20 69 66 20 28 20 24 |) ) {.. | if ( $|
|00001820| 64 6f 63 75 6d 65 6e 74 | 74 79 70 65 3d 3d 34 20 |document|type==4 |
|00001830| 29 20 7b 0d 0a 20 20 20 | 20 24 74 65 6d 70 3d 27 |) {.. | $temp='|
|00001840| 5b 32 34 5d 20 41 20 64 | 6f 63 75 6d 65 6e 74 20 |[24] A d|ocument |
|00001850| 74 79 70 65 20 64 65 63 | 6c 61 72 61 74 69 6f 6e |type dec|laration|
|00001860| 20 73 68 6f 75 6c 64 20 | 6e 6f 72 6d 61 6c 6c 79 | should |normally|
|00001870| 20 61 70 70 65 61 72 20 | 61 73 20 74 68 65 20 73 | appear |as the s|
|00001880| 65 63 6f 6e 64 20 6c 69 | 6e 65 20 66 6f 72 20 58 |econd li|ne for X|
|00001890| 48 54 4d 4c 20 64 6f 63 | 75 6d 65 6e 74 73 20 28 |HTML doc|uments (|
|000018a0| 74 68 65 20 66 69 72 73 | 74 20 6c 69 6e 65 20 73 |the firs|t line s|
|000018b0| 68 6f 75 6c 64 20 62 65 | 20 61 6e 20 58 4d 4c 20 |hould be| an XML |
|000018c0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 29 2e 20 46 6f |declarat|ion). Fo|
|000018d0| 72 20 65 78 61 6d 70 6c | 65 2c 20 66 6f 72 20 58 |r exampl|e, for X|
|000018e0| 48 54 4d 4c 20 31 2e 30 | 20 53 74 72 69 63 74 20 |HTML 1.0| Strict |
|000018f0| 64 6f 63 75 6d 65 6e 74 | 73 2c 20 3c 21 44 4f 43 |document|s, <!DOC|
|00001900| 54 59 50 45 20 68 74 6d | 6c 20 50 55 42 4c 49 43 |TYPE htm|l PUBLIC|
|00001910| 20 22 2d 2f 2f 57 33 43 | 2f 2f 44 54 44 20 58 48 | "-//W3C|//DTD XH|
|00001920| 54 4d 4c 20 31 2e 30 20 | 53 74 72 69 63 74 2f 2f |TML 1.0 |Strict//|
|00001930| 45 4e 22 20 22 44 54 44 | 2f 78 68 74 6d 6c 31 2d |EN" "DTD|/xhtml1-|
|00001940| 73 74 72 69 63 74 2e 64 | 74 64 22 3e 20 73 68 6f |strict.d|td"> sho|
|00001950| 75 6c 64 20 62 65 20 74 | 68 65 20 73 65 63 6f 6e |uld be t|he secon|
|00001960| 64 20 6c 69 6e 65 20 28 | 6f 72 20 74 68 65 20 66 |d line (|or the f|
|00001970| 69 72 73 74 20 6c 69 6e | 65 20 69 66 20 74 68 65 |irst lin|e if the|
|00001980| 72 65 20 69 73 20 6e 6f | 20 58 4d 4c 20 64 65 63 |re is no| XML dec|
|00001990| 6c 61 72 61 74 69 6f 6e | 29 2e 20 46 6f 72 20 58 |laration|). For X|
|000019a0| 48 54 4d 4c 20 31 2e 30 | 20 54 72 61 6e 73 69 74 |HTML 1.0| Transit|
|000019b0| 69 6f 6e 61 6c 20 64 6f | 63 75 6d 65 6e 74 73 2c |ional do|cuments,|
|000019c0| 20 74 68 65 20 6c 69 6e | 65 20 73 68 6f 75 6c 64 | the lin|e should|
|000019d0| 20 62 65 20 3c 21 44 4f | 43 54 59 50 45 20 68 74 | be <!DO|CTYPE ht|
|000019e0| 6d 6c 20 50 55 42 4c 49 | 43 20 22 2d 2f 2f 57 33 |ml PUBLI|C "-//W3|
|000019f0| 43 2f 2f 44 54 44 20 58 | 48 54 4d 4c 20 31 2e 30 |C//DTD X|HTML 1.0|
|00001a00| 20 54 72 61 6e 73 69 74 | 69 6f 6e 61 6c 2f 2f 45 | Transit|ional//E|
|00001a10| 4e 22 20 22 44 54 44 2f | 78 68 74 6d 6c 31 2d 74 |N" "DTD/|xhtml1-t|
|00001a20| 72 61 6e 73 69 74 69 6f | 6e 61 6c 2e 64 74 64 22 |ransitio|nal.dtd"|
|00001a30| 3e 2e 20 46 6f 72 20 58 | 48 54 4d 4c 20 31 2e 30 |>. For X|HTML 1.0|
|00001a40| 20 46 72 61 6d 65 73 65 | 74 20 64 6f 63 75 6d 65 | Framese|t docume|
|00001a50| 6e 74 73 2c 20 74 68 65 | 20 6c 69 6e 65 20 73 68 |nts, the| line sh|
|00001a60| 6f 75 6c 64 20 62 65 20 | 3c 21 44 4f 43 54 59 50 |ould be |<!DOCTYP|
|00001a70| 45 20 68 74 6d 6c 20 50 | 55 42 4c 49 43 20 22 2d |E html P|UBLIC "-|
|00001a80| 2f 2f 57 33 43 2f 2f 44 | 54 44 20 58 48 54 4d 4c |//W3C//D|TD XHTML|
|00001a90| 20 31 2e 30 20 46 72 61 | 6d 65 73 65 74 2f 2f 45 | 1.0 Fra|meset//E|
|00001aa0| 4e 22 20 22 44 54 44 2f | 78 68 74 6d 6c 31 2d 66 |N" "DTD/|xhtml1-f|
|00001ab0| 72 61 6d 65 73 65 74 2e | 64 74 64 22 3e 2e 20 41 |rameset.|dtd">. A|
|00001ac0| 6c 74 68 6f 75 67 68 20 | 74 68 65 20 58 48 54 4d |lthough |the XHTM|
|00001ad0| 4c 20 72 65 63 6f 6d 6d | 65 6e 64 61 74 69 6f 6e |L recomm|endation|
|00001ae0| 20 72 65 71 75 69 72 65 | 73 20 74 68 69 73 20 6c | require|s this l|
|00001af0| 69 6e 65 2c 20 6d 6f 73 | 74 20 62 72 6f 77 73 65 |ine, mos|t browse|
|00001b00| 72 73 20 70 72 6f 62 61 | 62 6c 79 20 69 67 6e 6f |rs proba|bly igno|
|00001b10| 72 65 20 69 74 2e 27 20 | 2b 20 24 75 73 69 6e 67 |re it.' |+ $using|
|00001b20| 69 6e 74 65 64 69 74 6f | 72 61 64 64 74 61 67 6d |intedito|raddtagm|
|00001b30| 73 67 3b 0d 0a 20 20 20 | 7d 0d 0a 20 20 20 65 6c |sg;.. |}.. el|
|00001b40| 73 65 20 7b 0d 0a 20 20 | 20 20 24 74 65 6d 70 3d |se {.. | $temp=|
|00001b50| 27 5b 32 34 5d 20 41 20 | 64 6f 63 75 6d 65 6e 74 |'[24] A |document|
|00001b60| 20 74 79 70 65 20 64 65 | 63 6c 61 72 61 74 69 6f | type de|claratio|
|00001b70| 6e 20 73 68 6f 75 6c 64 | 20 61 70 70 65 61 72 20 |n should| appear |
|00001b80| 61 73 20 74 68 65 20 66 | 69 72 73 74 20 6c 69 6e |as the f|irst lin|
|00001b90| 65 20 28 6c 69 6e 65 20 | 31 29 20 6f 66 20 65 76 |e (line |1) of ev|
|00001ba0| 65 72 79 20 48 54 4d 4c | 20 64 6f 63 75 6d 65 6e |ery HTML| documen|
|00001bb0| 74 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |t. For e|xample, |
|00001bc0| 66 6f 72 20 48 54 4d 4c | 20 34 2e 30 31 20 53 74 |for HTML| 4.01 St|
|00001bd0| 72 69 63 74 20 64 6f 63 | 75 6d 65 6e 74 73 2c 20 |rict doc|uments, |
|00001be0| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00001bf0| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00001c00| 54 44 20 48 54 4d 4c 20 | 34 2e 30 31 2f 2f 45 4e |TD HTML |4.01//EN|
|00001c10| 22 20 22 68 74 74 70 3a | 2f 2f 77 77 77 2e 77 33 |" "http:|//www.w3|
|00001c20| 2e 6f 72 67 2f 54 52 2f | 68 74 6d 6c 34 2f 73 74 |.org/TR/|html4/st|
|00001c30| 72 69 63 74 2e 64 74 64 | 22 3e 20 73 68 6f 75 6c |rict.dtd|"> shoul|
|00001c40| 64 20 62 65 20 74 68 65 | 20 66 69 72 73 74 20 6c |d be the| first l|
|00001c50| 69 6e 65 2e 20 46 6f 72 | 20 48 54 4d 4c 20 34 2e |ine. For| HTML 4.|
|00001c60| 30 31 20 54 72 61 6e 73 | 69 74 69 6f 6e 61 6c 20 |01 Trans|itional |
|00001c70| 64 6f 63 75 6d 65 6e 74 | 73 2c 20 74 68 65 20 66 |document|s, the f|
|00001c80| 69 72 73 74 20 6c 69 6e | 65 20 73 68 6f 75 6c 64 |irst lin|e should|
|00001c90| 20 62 65 20 3c 21 44 4f | 43 54 59 50 45 20 48 54 | be <!DO|CTYPE HT|
|00001ca0| 4d 4c 20 50 55 42 4c 49 | 43 20 22 2d 2f 2f 57 33 |ML PUBLI|C "-//W3|
|00001cb0| 43 2f 2f 44 54 44 20 48 | 54 4d 4c 20 34 2e 30 31 |C//DTD H|TML 4.01|
|00001cc0| 20 54 72 61 6e 73 69 74 | 69 6f 6e 61 6c 2f 2f 45 | Transit|ional//E|
|00001cd0| 4e 22 20 22 68 74 74 70 | 3a 2f 2f 77 77 77 2e 77 |N" "http|://www.w|
|00001ce0| 33 2e 6f 72 67 2f 54 52 | 2f 68 74 6d 6c 34 2f 6c |3.org/TR|/html4/l|
|00001cf0| 6f 6f 73 65 2e 64 74 64 | 22 3e 2e 20 46 6f 72 20 |oose.dtd|">. For |
|00001d00| 48 54 4d 4c 20 34 2e 30 | 31 20 46 72 61 6d 65 73 |HTML 4.0|1 Frames|
|00001d10| 65 74 20 64 6f 63 75 6d | 65 6e 74 73 2c 20 74 68 |et docum|ents, th|
|00001d20| 65 20 66 69 72 73 74 20 | 6c 69 6e 65 20 73 68 6f |e first |line sho|
|00001d30| 75 6c 64 20 62 65 20 3c | 21 44 4f 43 54 59 50 45 |uld be <|!DOCTYPE|
|00001d40| 20 48 54 4d 4c 20 50 55 | 42 4c 49 43 20 22 2d 2f | HTML PU|BLIC "-/|
|00001d50| 2f 57 33 43 2f 2f 44 54 | 44 20 48 54 4d 4c 20 34 |/W3C//DT|D HTML 4|
|00001d60| 2e 30 31 20 46 72 61 6d | 65 73 65 74 2f 2f 45 4e |.01 Fram|eset//EN|
|00001d70| 22 20 22 68 74 74 70 3a | 2f 2f 77 77 77 2e 77 33 |" "http:|//www.w3|
|00001d80| 2e 6f 72 67 2f 54 52 2f | 68 74 6d 6c 34 2f 66 72 |.org/TR/|html4/fr|
|00001d90| 61 6d 65 73 65 74 2e 64 | 74 64 22 3e 2e 20 41 6c |ameset.d|td">. Al|
|00001da0| 74 68 6f 75 67 68 20 48 | 54 4d 4c 20 72 65 63 6f |though H|TML reco|
|00001db0| 6d 6d 65 6e 64 61 74 69 | 6f 6e 73 20 67 65 6e 65 |mmendati|ons gene|
|00001dc0| 72 61 6c 6c 79 20 72 65 | 71 75 69 72 65 20 74 68 |rally re|quire th|
|00001dd0| 69 73 20 6c 69 6e 65 2c | 20 6d 6f 73 74 20 62 72 |is line,| most br|
|00001de0| 6f 77 73 65 72 73 20 70 | 72 6f 62 61 62 6c 79 20 |owsers p|robably |
|00001df0| 69 67 6e 6f 72 65 20 69 | 74 2e 27 20 2b 20 24 75 |ignore i|t.' + $u|
|00001e00| 73 69 6e 67 69 6e 74 65 | 64 69 74 6f 72 61 64 64 |singinte|ditoradd|
|00001e10| 74 61 67 6d 73 67 3b 0d | 0a 20 20 20 7d 0d 0a 20 |tagmsg;.|. }.. |
|00001e20| 20 20 4d 65 73 73 61 67 | 65 45 78 28 31 33 2c 20 | Messag|eEx(13, |
|00001e30| 31 30 32 30 37 31 35 31 | 35 33 2c 20 24 4d 53 47 |10207151|53, $MSG|
|00001e40| 5f 57 41 52 4e 49 4e 47 | 2c 20 24 74 65 6d 70 29 |_WARNING|, $temp)|
|00001e50| 3b 0d 0a 20 20 7d 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |;.. }..| }.... i|
|00001e60| 66 20 28 20 24 68 74 6d | 6c 74 79 70 65 64 6f 63 |f ( $htm|ltypedoc|
|00001e70| 3d 3d 31 20 29 20 7b 0d | 0a 20 20 69 66 20 28 20 |==1 ) {.|. if ( |
|00001e80| 24 62 79 74 65 73 3e 33 | 30 30 30 30 20 29 20 7b |$bytes>3|0000 ) {|
|00001e90| 0d 0a 20 20 20 4d 65 73 | 73 61 67 65 45 78 28 35 |.. Mes|sageEx(5|
|00001ea0| 2c 20 32 30 30 32 30 37 | 31 35 38 37 2c 20 24 4d |, 200207|1587, $M|
|00001eb0| 53 47 5f 43 4f 4d 4d 45 | 4e 54 2c 20 24 53 54 59 |SG_COMME|NT, $STY|
|00001ec0| 4c 45 2c 20 22 54 68 69 | 73 20 64 6f 63 75 6d 65 |LE, "Thi|s docume|
|00001ed0| 6e 74 20 69 73 20 61 70 | 70 72 6f 78 69 6d 61 74 |nt is ap|proximat|
|00001ee0| 65 6c 79 20 22 20 2b 20 | 74 6f 53 74 72 69 6e 67 |ely " + |toString|
|00001ef0| 28 24 62 79 74 65 73 29 | 20 2b 20 22 20 62 79 74 |($bytes)| + " byt|
|00001f00| 65 73 2e 20 53 6f 6d 65 | 20 70 65 6f 70 6c 65 20 |es. Some| people |
|00001f10| 6d 61 79 20 63 6f 6e 73 | 69 64 65 72 20 74 68 69 |may cons|ider thi|
|00001f20| 73 20 64 6f 63 75 6d 65 | 6e 74 20 74 6f 20 62 65 |s docume|nt to be|
|00001f30| 20 74 6f 6f 20 6c 61 72 | 67 65 2e 20 49 74 20 69 | too lar|ge. It i|
|00001f40| 73 20 67 65 6e 65 72 61 | 6c 6c 79 20 61 20 67 6f |s genera|lly a go|
|00001f50| 6f 64 20 69 64 65 61 20 | 74 6f 20 6c 69 6d 69 74 |od idea |to limit|
|00001f60| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 48 54 4d | the siz|e of HTM|
|00001f70| 4c 20 61 6e 64 20 58 48 | 54 4d 4c 20 64 6f 63 75 |L and XH|TML docu|
|00001f80| 6d 65 6e 74 73 20 73 6f | 20 74 68 61 74 20 74 68 |ments so| that th|
|00001f90| 65 79 20 64 6f 20 6e 6f | 74 20 63 6f 6e 74 61 69 |ey do no|t contai|
|00001fa0| 6e 20 74 6f 6f 20 6d 75 | 63 68 20 69 6e 66 6f 72 |n too mu|ch infor|
|00001fb0| 6d 61 74 69 6f 6e 20 61 | 6e 64 20 61 6c 73 6f 20 |mation a|nd also |
|00001fc0| 73 6f 20 74 68 61 74 20 | 74 68 65 79 20 6c 6f 61 |so that |they loa|
|00001fd0| 64 20 66 61 73 74 65 72 | 2e 20 54 68 69 73 20 6d |d faster|. This m|
|00001fe0| 65 73 73 61 67 65 20 64 | 69 73 70 6c 61 79 73 20 |essage d|isplays |
|00001ff0| 66 6f 72 20 64 6f 63 75 | 6d 65 6e 74 73 20 6f 76 |for docu|ments ov|
|00002000| 65 72 20 33 30 2c 30 30 | 30 20 62 79 74 65 73 2e |er 30,00|0 bytes.|
|00002010| 22 29 3b 0d 0a 20 20 7d | 0d 0a 20 7d 0d 0a 0d 0a |");.. }|.. }....|
|00002020| 7d 0d 0a 0d 0a 69 66 20 | 28 20 24 6d 61 78 74 61 |}....if |( $maxta|
|00002030| 62 6c 65 6e 65 73 74 3e | 33 20 29 20 7b 0d 0a 20 |blenest>|3 ) {.. |
|00002040| 4d 65 73 73 61 67 65 45 | 78 28 31 33 2c 20 31 30 |MessageE|x(13, 10|
|00002050| 32 30 37 31 35 31 35 34 | 2c 20 24 4d 53 47 5f 43 |20715154|, $MSG_C|
|00002060| 4f 4d 4d 45 4e 54 2c 20 | 22 54 68 69 73 20 64 6f |OMMENT, |"This do|
|00002070| 63 75 6d 65 6e 74 20 63 | 6f 6e 74 61 69 6e 73 20 |cument c|ontains |
|00002080| 74 61 62 6c 65 73 20 6e | 65 73 74 65 64 20 74 6f |tables n|ested to|
|00002090| 20 22 20 2b 20 74 6f 53 | 74 72 69 6e 67 28 24 6d | " + toS|tring($m|
|000020a0| 61 78 74 61 62 6c 65 6e | 65 73 74 29 20 2b 20 22 |axtablen|est) + "|
|000020b0| 20 6c 65 76 65 6c 73 2e | 20 54 6f 6f 20 6d 61 6e | levels.| Too man|
|000020c0| 79 20 6e 65 73 74 65 64 | 20 74 61 62 6c 65 73 20 |y nested| tables |
|000020d0| 6d 61 79 20 63 61 75 73 | 65 20 73 69 67 6e 69 66 |may caus|e signif|
|000020e0| 69 63 61 6e 74 20 70 65 | 72 66 6f 72 6d 61 6e 63 |icant pe|rformanc|
|000020f0| 65 20 70 72 6f 62 6c 65 | 6d 73 20 61 6e 64 20 6d |e proble|ms and m|
|00002100| 61 79 20 72 65 64 75 63 | 65 20 74 68 65 20 61 62 |ay reduc|e the ab|
|00002110| 69 6c 69 74 79 20 6f 66 | 20 62 72 6f 77 73 65 72 |ility of| browser|
|00002120| 73 20 74 6f 20 72 65 6e | 64 65 72 20 79 6f 75 72 |s to ren|der your|
|00002130| 20 64 6f 63 75 6d 65 6e | 74 20 70 72 6f 70 65 72 | documen|t proper|
|00002140| 6c 79 2e 20 54 68 69 73 | 20 6d 65 73 73 61 67 65 |ly. This| message|
|00002150| 20 61 70 70 65 61 72 73 | 20 69 66 20 79 6f 75 20 | appears| if you |
|00002160| 68 61 76 65 20 6e 65 73 | 74 65 64 20 74 61 62 6c |have nes|ted tabl|
|00002170| 65 73 20 6d 6f 72 65 20 | 74 68 61 6e 20 33 20 6c |es more |than 3 l|
|00002180| 65 76 65 6c 73 20 64 65 | 65 70 2e 20 4e 6f 74 65 |evels de|ep. Note|
|00002190| 20 74 68 61 74 20 4e 65 | 74 73 63 61 70 65 20 69 | that Ne|tscape i|
|000021a0| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 20 28 76 34 |n partic|ular (v4|
|000021b0| 2e 78 20 61 6e 64 20 62 | 65 6c 6f 77 29 20 6d 61 |.x and b|elow) ma|
|000021c0| 79 20 72 65 6e 64 65 72 | 20 6e 65 73 74 65 64 20 |y render| nested |
|000021d0| 74 61 62 6c 65 73 20 6d | 75 63 68 20 73 6c 6f 77 |tables m|uch slow|
|000021e0| 65 72 20 74 68 61 6e 20 | 6f 74 68 65 72 20 62 72 |er than |other br|
|000021f0| 6f 77 73 65 72 73 20 73 | 75 63 68 20 61 73 20 49 |owsers s|uch as I|
|00002200| 6e 74 65 72 6e 65 74 20 | 45 78 70 6c 6f 72 65 72 |nternet |Explorer|
|00002210| 2e 22 29 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2a 20 69 66 |.");..}.|.../* if|
|00002220| 20 6e 6f 74 20 61 20 57 | 4d 4c 20 64 6f 63 75 6d | not a W|ML docum|
|00002230| 65 6e 74 20 2a 2f 0d 0a | 69 66 20 28 20 28 24 68 |ent */..|if ( ($h|
|00002240| 74 6d 6c 74 79 70 65 64 | 6f 63 3d 3d 31 29 20 26 |tmltyped|oc==1) &|
|00002250| 26 20 69 73 46 6c 61 67 | 53 65 74 28 38 29 20 29 |& isFlag|Set(8) )|
|00002260| 20 7b 0d 0a 20 69 66 20 | 28 20 28 21 69 73 44 65 | {.. if |( (!isDe|
|00002270| 66 69 6e 65 64 28 22 6d | 65 74 61 64 65 73 63 72 |fined("m|etadescr|
|00002280| 69 70 74 69 6f 6e 75 73 | 65 64 22 29 29 20 26 26 |iptionus|ed")) &&|
|00002290| 20 28 69 73 44 65 66 69 | 6e 65 64 28 22 68 65 61 | (isDefi|ned("hea|
|000022a0| 64 74 61 67 63 6f 75 6e | 74 22 29 29 20 29 20 7b |dtagcoun|t")) ) {|
|000022b0| 0d 0a 20 20 69 66 20 28 | 20 24 64 6f 63 75 6d 65 |.. if (| $docume|
|000022c0| 6e 74 74 79 70 65 3d 3d | 34 20 29 20 7b 0d 0a 20 |nttype==|4 ) {.. |
|000022d0| 20 20 24 74 65 6d 70 3d | 27 3c 6d 65 74 61 20 6e | $temp=|'<meta n|
|000022e0| 61 6d 65 3d 22 64 65 73 | 63 72 69 70 74 69 6f 6e |ame="des|cription|
|000022f0| 22 20 63 6f 6e 74 65 6e | 74 3d 22 28 61 63 74 75 |" conten|t="(actu|
|00002300| 61 6c 20 64 65 73 63 72 | 69 70 74 69 6f 6e 29 22 |al descr|iption)"|
|00002310| 20 2f 3e 27 3b 0d 0a 20 | 20 7d 0d 0a 20 20 65 6c | />';.. | }.. el|
|00002320| 73 65 20 7b 0d 0a 20 20 | 20 24 74 65 6d 70 3d 27 |se {.. | $temp='|
|00002330| 3c 6d 65 74 61 20 6e 61 | 6d 65 3d 22 64 65 73 63 |<meta na|me="desc|
|00002340| 72 69 70 74 69 6f 6e 22 | 20 63 6f 6e 74 65 6e 74 |ription"| content|
|00002350| 3d 22 28 61 63 74 75 61 | 6c 20 64 65 73 63 72 69 |="(actua|l descri|
|00002360| 70 74 69 6f 6e 29 22 3e | 27 3b 0d 0a 20 20 7d 0d |ption)">|';.. }.|
|00002370| 0a 20 20 4d 65 73 73 61 | 67 65 45 78 28 35 2c 20 |. Messa|geEx(5, |
|00002380| 32 30 30 32 30 37 31 35 | 38 38 2c 20 24 4d 53 47 |20020715|88, $MSG|
|00002390| 5f 43 4f 4d 4d 45 4e 54 | 2c 20 24 53 45 41 52 43 |_COMMENT|, $SEARC|
|000023a0| 48 45 4e 47 49 4e 45 2c | 20 27 5b 38 5d 20 27 20 |HENGINE,| '[8] ' |
|000023b0| 2b 20 24 74 65 6d 70 20 | 2b 20 27 20 73 68 6f 75 |+ $temp |+ ' shou|
|000023c0| 6c 64 20 62 65 20 75 73 | 65 64 20 69 6e 20 74 68 |ld be us|ed in th|
|000023d0| 65 20 22 68 65 61 64 22 | 20 73 65 63 74 69 6f 6e |e "head"| section|
|000023e0| 20 74 6f 20 70 72 6f 76 | 69 64 65 20 61 20 62 72 | to prov|ide a br|
|000023f0| 69 65 66 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |ief desc|ription |
|00002400| 6f 66 20 77 68 61 74 20 | 69 73 20 63 6f 6e 74 61 |of what |is conta|
|00002410| 69 6e 65 64 20 6f 6e 20 | 74 68 69 73 20 70 61 67 |ined on |this pag|
|00002420| 65 2e 20 54 68 69 73 20 | 69 6e 66 6f 72 6d 61 74 |e. This |informat|
|00002430| 69 6f 6e 20 69 73 20 75 | 73 65 64 20 62 79 20 6d |ion is u|sed by m|
|00002440| 61 6e 79 20 73 65 61 72 | 63 68 20 65 6e 67 69 6e |any sear|ch engin|
|00002450| 65 73 20 77 68 65 6e 20 | 69 6e 64 65 78 69 6e 67 |es when |indexing|
|00002460| 20 61 20 73 69 74 65 2e | 27 20 2b 20 24 75 73 69 | a site.|' + $usi|
|00002470| 6e 67 69 6e 74 65 64 69 | 74 6f 72 61 64 64 74 61 |ngintedi|toraddta|
|00002480| 67 6d 73 67 29 3b 0d 0a | 20 7d 0d 0a 20 69 66 20 |gmsg);..| }.. if |
|00002490| 28 20 28 21 69 73 44 65 | 66 69 6e 65 64 28 22 6d |( (!isDe|fined("m|
|000024a0| 65 74 61 6b 65 79 77 6f | 72 64 73 75 73 65 64 22 |etakeywo|rdsused"|
|000024b0| 29 29 20 26 26 20 28 69 | 73 44 65 66 69 6e 65 64 |)) && (i|sDefined|
|000024c0| 28 22 68 65 61 64 74 61 | 67 63 6f 75 6e 74 22 29 |("headta|gcount")|
|000024d0| 29 20 29 20 7b 0d 0a 20 | 20 69 66 20 28 20 24 64 |) ) {.. | if ( $d|
|000024e0| 6f 63 75 6d 65 6e 74 74 | 79 70 65 3d 3d 34 20 29 |ocumentt|ype==4 )|
|000024f0| 20 7b 0d 0a 20 20 20 24 | 74 65 6d 70 3d 27 3c 6d | {.. $|temp='<m|
|00002500| 65 74 61 20 6e 61 6d 65 | 3d 22 6b 65 79 77 6f 72 |eta name|="keywor|
|00002510| 64 73 22 20 63 6f 6e 74 | 65 6e 74 3d 22 28 61 63 |ds" cont|ent="(ac|
|00002520| 74 75 61 6c 20 6b 65 79 | 77 6f 72 64 20 6c 69 73 |tual key|word lis|
|00002530| 74 29 22 20 2f 3e 27 3b | 0d 0a 20 20 7d 0d 0a 20 |t)" />';|.. }.. |
|00002540| 20 65 6c 73 65 20 7b 0d | 0a 20 20 20 24 74 65 6d | else {.|. $tem|
|00002550| 70 3d 27 3c 6d 65 74 61 | 20 6e 61 6d 65 3d 22 6b |p='<meta| name="k|
|00002560| 65 79 77 6f 72 64 73 22 | 20 63 6f 6e 74 65 6e 74 |eywords"| content|
|00002570| 3d 22 28 61 63 74 75 61 | 6c 20 6b 65 79 77 6f 72 |="(actua|l keywor|
|00002580| 64 20 6c 69 73 74 29 22 | 3e 27 3b 0d 0a 20 20 7d |d list)"|>';.. }|
|00002590| 0d 0a 20 20 4d 65 73 73 | 61 67 65 45 78 28 35 2c |.. Mess|ageEx(5,|
|000025a0| 20 32 30 30 32 30 37 31 | 35 38 39 2c 20 24 4d 53 | 2002071|589, $MS|
|000025b0| 47 5f 43 4f 4d 4d 45 4e | 54 2c 20 24 53 45 41 52 |G_COMMEN|T, $SEAR|
|000025c0| 43 48 45 4e 47 49 4e 45 | 2c 20 27 5b 38 5d 20 27 |CHENGINE|, '[8] '|
|000025d0| 20 2b 20 24 74 65 6d 70 | 20 2b 20 27 20 73 68 6f | + $temp| + ' sho|
|000025e0| 75 6c 64 20 62 65 20 75 | 73 65 64 20 69 6e 20 74 |uld be u|sed in t|
|000025f0| 68 65 20 22 68 65 61 64 | 22 20 73 65 63 74 69 6f |he "head|" sectio|
|00002600| 6e 20 74 6f 20 70 72 6f | 76 69 64 65 20 61 20 6c |n to pro|vide a l|
|00002610| 69 73 74 20 6f 66 20 6b | 65 79 77 6f 72 64 73 20 |ist of k|eywords |
|00002620| 74 68 61 74 20 61 72 65 | 20 72 65 6c 65 76 65 6e |that are| releven|
|00002630| 74 20 74 6f 20 74 68 69 | 73 20 70 61 67 65 2e 20 |t to thi|s page. |
|00002640| 54 68 69 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |This inf|ormation|
|00002650| 20 69 73 20 75 73 65 64 | 20 62 79 20 6d 61 6e 79 | is used| by many|
|00002660| 20 73 65 61 72 63 68 20 | 65 6e 67 69 6e 65 73 20 | search |engines |
|00002670| 77 68 65 6e 20 69 6e 64 | 65 78 69 6e 67 20 61 20 |when ind|exing a |
|00002680| 73 69 74 65 2e 27 20 2b | 20 24 75 73 69 6e 67 69 |site.' +| $usingi|
|00002690| 6e 74 65 64 69 74 6f 72 | 61 64 64 74 61 67 6d 73 |nteditor|addtagms|
|000026a0| 67 29 3b 0d 0a 20 7d 0d | 0a 7d 0d 0a 0d 0a 69 66 |g);.. }.|.}....if|
|000026b0| 20 28 20 69 73 46 6c 61 | 67 53 65 74 28 31 39 29 | ( isFla|gSet(19)|
|000026c0| 20 29 20 7b 0d 0a 20 69 | 66 20 28 20 69 73 44 65 | ) {.. i|f ( isDe|
|000026d0| 66 69 6e 65 64 28 22 6e | 61 74 75 72 61 6c 73 69 |fined("n|aturalsi|
|000026e0| 7a 65 66 6c 61 67 75 73 | 65 64 22 29 20 29 20 7b |zeflagus|ed") ) {|
|000026f0| 0d 0a 20 20 4d 65 73 73 | 61 67 65 45 78 28 31 33 |.. Mess|ageEx(13|
|00002700| 2c 20 31 30 32 30 37 31 | 35 31 35 35 2c 20 24 4d |, 102071|5155, $M|
|00002710| 53 47 5f 43 4f 4d 4d 45 | 4e 54 2c 20 27 5b 31 39 |SG_COMME|NT, '[19|
|00002720| 5d 20 54 68 65 20 22 6e | 61 74 75 72 61 6c 73 69 |] The "n|aturalsi|
|00002730| 7a 65 66 6c 61 67 22 20 | 61 74 74 72 69 62 75 74 |zeflag" |attribut|
|00002740| 65 20 77 61 73 20 75 73 | 65 64 20 27 2b 74 6f 53 |e was us|ed '+toS|
|00002750| 74 72 69 6e 67 28 24 6e | 61 74 75 72 61 6c 73 69 |tring($n|aturalsi|
|00002760| 7a 65 66 6c 61 67 75 73 | 65 64 29 2b 27 20 74 69 |zeflagus|ed)+' ti|
|00002770| 6d 65 28 73 29 2e 20 54 | 68 69 73 20 61 74 74 72 |me(s). T|his attr|
|00002780| 69 62 75 74 65 20 69 73 | 20 75 73 75 61 6c 6c 79 |ibute is| usually|
|00002790| 20 61 64 64 65 64 20 74 | 6f 20 74 68 65 20 22 69 | added t|o the "i|
|000027a0| 6d 67 22 20 65 6c 65 6d | 65 6e 74 20 62 79 20 41 |mg" elem|ent by A|
|000027b0| 64 6f 62 65 20 50 61 67 | 65 4d 69 6c 6c 20 61 6e |dobe Pag|eMill an|
|000027c0| 64 20 69 73 20 6e 6f 74 | 20 61 6e 20 6f 66 66 69 |d is not| an offi|
|000027d0| 63 69 61 6c 20 48 54 4d | 4c 20 6f 72 20 58 48 54 |cial HTM|L or XHT|
|000027e0| 4d 4c 20 61 74 74 72 69 | 62 75 74 65 2e 20 48 6f |ML attri|bute. Ho|
|000027f0| 77 65 76 65 72 2c 20 69 | 74 20 77 61 73 20 69 67 |wever, i|t was ig|
|00002800| 6e 6f 72 65 64 20 62 65 | 63 61 75 73 65 20 69 74 |nored be|cause it|
|00002810| 20 69 73 20 75 6e 6c 69 | 6b 65 6c 79 20 74 6f 20 | is unli|kely to |
|00002820| 63 61 75 73 65 20 70 72 | 6f 62 6c 65 6d 73 20 77 |cause pr|oblems w|
|00002830| 69 74 68 20 62 72 6f 77 | 73 65 72 73 2e 27 29 3b |ith brow|sers.');|
|00002840| 0d 0a 20 7d 0d 0a 0d 0a | 20 69 66 20 28 20 69 73 |.. }....| if ( is|
|00002850| 44 65 66 69 6e 65 64 28 | 22 6d 73 69 6d 61 67 65 |Defined(|"msimage|
|00002860| 6c 69 73 74 75 73 65 64 | 22 29 20 29 20 7b 0d 0a |listused|") ) {..|
|00002870| 20 20 4d 65 73 73 61 67 | 65 45 78 28 31 33 2c 20 | Messag|eEx(13, |
|00002880| 31 30 32 30 37 31 35 31 | 35 36 2c 20 24 4d 53 47 |10207151|56, $MSG|
|00002890| 5f 43 4f 4d 4d 45 4e 54 | 2c 20 27 5b 31 39 5d 20 |_COMMENT|, '[19] |
|000028a0| 54 68 65 20 22 6d 73 69 | 6d 61 67 65 6c 69 73 74 |The "msi|magelist|
|000028b0| 22 20 61 74 74 72 69 62 | 75 74 65 20 77 61 73 20 |" attrib|ute was |
|000028c0| 75 73 65 64 20 27 2b 74 | 6f 53 74 72 69 6e 67 28 |used '+t|oString(|
|000028d0| 24 6d 73 69 6d 61 67 65 | 6c 69 73 74 75 73 65 64 |$msimage|listused|
|000028e0| 29 2b 27 20 74 69 6d 65 | 28 73 29 2e 20 54 68 69 |)+' time|(s). Thi|
|000028f0| 73 20 61 74 74 72 69 62 | 75 74 65 20 69 73 20 75 |s attrib|ute is u|
|00002900| 73 75 61 6c 6c 79 20 61 | 64 64 65 64 20 62 79 20 |sually a|dded by |
|00002910| 4d 69 63 72 6f 73 6f 66 | 74 20 46 72 6f 6e 74 50 |Microsof|t FrontP|
|00002920| 61 67 65 20 61 6e 64 20 | 69 73 20 6e 6f 74 20 61 |age and |is not a|
|00002930| 6e 20 6f 66 66 69 63 69 | 61 6c 20 48 54 4d 4c 20 |n offici|al HTML |
|00002940| 6f 72 20 58 48 54 4d 4c | 20 61 74 74 72 69 62 75 |or XHTML| attribu|
|00002950| 74 65 2e 20 48 6f 77 65 | 76 65 72 2c 20 69 74 20 |te. Howe|ver, it |
|00002960| 77 61 73 20 69 67 6e 6f | 72 65 64 20 62 65 63 61 |was igno|red beca|
|00002970| 75 73 65 20 69 74 20 69 | 73 20 75 6e 6c 69 6b 65 |use it i|s unlike|
|00002980| 6c 79 20 74 6f 20 63 61 | 75 73 65 20 70 72 6f 62 |ly to ca|use prob|
|00002990| 6c 65 6d 73 20 77 69 74 | 68 20 62 72 6f 77 73 65 |lems wit|h browse|
|000029a0| 72 73 2e 27 29 3b 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |rs.');..| }.... i|
|000029b0| 66 20 28 20 69 73 44 65 | 66 69 6e 65 64 28 22 77 |f ( isDe|fined("w|
|000029c0| 65 62 62 6f 74 61 63 74 | 69 6f 6e 75 73 65 64 22 |ebbotact|ionused"|
|000029d0| 29 20 29 20 7b 0d 0a 20 | 20 4d 65 73 73 61 67 65 |) ) {.. | Message|
|000029e0| 45 78 28 31 33 2c 20 32 | 30 30 33 30 35 32 35 30 |Ex(13, 2|00305250|
|000029f0| 30 2c 20 24 4d 53 47 5f | 43 4f 4d 4d 45 4e 54 2c |0, $MSG_|COMMENT,|
|00002a00| 20 27 5b 31 39 5d 20 54 | 68 65 20 22 77 65 62 62 | '[19] T|he "webb|
|00002a10| 6f 74 2d 61 63 74 69 6f | 6e 22 20 61 74 74 72 69 |ot-actio|n" attri|
|00002a20| 62 75 74 65 20 77 61 73 | 20 75 73 65 64 20 27 20 |bute was| used ' |
|00002a30| 2b 20 74 6f 53 74 72 69 | 6e 67 28 24 77 65 62 62 |+ toStri|ng($webb|
|00002a40| 6f 74 61 63 74 69 6f 6e | 75 73 65 64 29 20 2b 20 |otaction|used) + |
|00002a50| 27 20 74 69 6d 65 28 73 | 29 2e 20 54 68 69 73 20 |' time(s|). This |
|00002a60| 61 74 74 72 69 62 75 74 | 65 20 69 73 20 75 73 75 |attribut|e is usu|
|00002a70| 61 6c 6c 79 20 61 64 64 | 65 64 20 62 79 20 4d 69 |ally add|ed by Mi|
|00002a80| 63 72 6f 73 6f 66 74 20 | 46 72 6f 6e 74 50 61 67 |crosoft |FrontPag|
|00002a90| 65 20 61 6e 64 20 69 73 | 20 6e 6f 74 20 61 6e 20 |e and is| not an |
|00002aa0| 6f 66 66 69 63 69 61 6c | 20 48 54 4d 4c 20 6f 72 |official| HTML or|
|00002ab0| 20 58 48 54 4d 4c 20 61 | 74 74 72 69 62 75 74 65 | XHTML a|ttribute|
|00002ac0| 2e 20 48 6f 77 65 76 65 | 72 2c 20 69 74 20 77 61 |. Howeve|r, it wa|
|00002ad0| 73 20 69 67 6e 6f 72 65 | 64 20 62 65 63 61 75 73 |s ignore|d becaus|
|00002ae0| 65 20 69 74 20 69 73 20 | 75 6e 6c 69 6b 65 6c 79 |e it is |unlikely|
|00002af0| 20 74 6f 20 63 61 75 73 | 65 20 70 72 6f 62 6c 65 | to caus|e proble|
|00002b00| 6d 73 20 77 69 74 68 20 | 62 72 6f 77 73 65 72 73 |ms with |browsers|
|00002b10| 2e 27 29 3b 0d 0a 20 7d | 0d 0a 0d 0a 20 69 66 20 |.');.. }|.... if |
|00002b20| 28 20 69 73 44 65 66 69 | 6e 65 64 28 22 6e 6f 66 |( isDefi|ned("nof|
|00002b30| 61 74 74 75 73 65 64 22 | 29 20 29 20 7b 0d 0a 20 |attused"|) ) {.. |
|00002b40| 20 4d 65 73 73 61 67 65 | 45 78 28 31 33 2c 20 31 | Message|Ex(13, 1|
|00002b50| 30 32 30 37 31 35 31 35 | 37 2c 20 24 4d 53 47 5f |02071515|7, $MSG_|
|00002b60| 43 4f 4d 4d 45 4e 54 2c | 20 27 5b 31 39 5d 20 54 |COMMENT,| '[19] T|
|00002b70| 68 65 20 22 27 20 2b 20 | 24 6e 6f 66 61 74 74 6e |he "' + |$nofattn|
|00002b80| 61 6d 65 20 2b 20 27 22 | 20 61 74 74 72 69 62 75 |ame + '"| attribu|
|00002b90| 74 65 20 77 61 73 20 75 | 73 65 64 20 27 2b 74 6f |te was u|sed '+to|
|00002ba0| 53 74 72 69 6e 67 28 24 | 6e 6f 66 61 74 74 75 73 |String($|nofattus|
|00002bb0| 65 64 29 2b 27 20 74 69 | 6d 65 28 73 29 2e 20 54 |ed)+' ti|me(s). T|
|00002bc0| 68 69 73 20 61 74 74 72 | 69 62 75 74 65 20 69 73 |his attr|ibute is|
|00002bd0| 20 75 73 75 61 6c 6c 79 | 20 61 64 64 65 64 20 62 | usually| added b|
|00002be0| 79 20 4e 65 74 4f 62 6a | 65 63 74 73 20 46 75 73 |y NetObj|ects Fus|
|00002bf0| 69 6f 6e 20 61 6e 64 20 | 69 73 20 6e 6f 74 20 61 |ion and |is not a|
|00002c00| 6e 20 6f 66 66 69 63 69 | 61 6c 20 48 54 4d 4c 20 |n offici|al HTML |
|00002c10| 6f 72 20 58 48 54 4d 4c | 20 61 74 74 72 69 62 75 |or XHTML| attribu|
|00002c20| 74 65 2e 20 48 6f 77 65 | 76 65 72 2c 20 69 74 20 |te. Howe|ver, it |
|00002c30| 77 61 73 20 69 67 6e 6f | 72 65 64 20 62 65 63 61 |was igno|red beca|
|00002c40| 75 73 65 20 69 74 20 69 | 73 20 75 6e 6c 69 6b 65 |use it i|s unlike|
|00002c50| 6c 79 20 74 6f 20 63 61 | 75 73 65 20 70 72 6f 62 |ly to ca|use prob|
|00002c60| 6c 65 6d 73 20 77 69 74 | 68 20 62 72 6f 77 73 65 |lems wit|h browse|
|00002c70| 72 73 2e 27 29 3b 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |rs.');..| }.... i|
|00002c80| 66 20 28 20 69 73 44 65 | 66 69 6e 65 64 28 22 6d |f ( isDe|fined("m|
|00002c90| 73 70 6f 73 69 74 69 6f | 6e 69 6e 67 61 74 74 75 |spositio|ningattu|
|00002ca0| 73 65 64 22 29 20 29 20 | 7b 0d 0a 20 20 4d 65 73 |sed") ) |{.. Mes|
|00002cb0| 73 61 67 65 45 78 28 31 | 33 2c 20 32 30 30 33 30 |sageEx(1|3, 20030|
|00002cc0| 37 30 32 30 31 2c 20 24 | 4d 53 47 5f 43 4f 4d 4d |70201, $|MSG_COMM|
|00002cd0| 45 4e 54 2c 20 27 5b 31 | 39 5d 20 54 68 65 20 22 |ENT, '[1|9] The "|
|00002ce0| 6d 73 5f 70 6f 73 69 74 | 69 6f 6e 69 6e 67 22 20 |ms_posit|ioning" |
|00002cf0| 61 74 74 72 69 62 75 74 | 65 20 77 61 73 20 75 73 |attribut|e was us|
|00002d00| 65 64 20 27 20 2b 20 74 | 6f 53 74 72 69 6e 67 28 |ed ' + t|oString(|
|00002d10| 24 6d 73 70 6f 73 69 74 | 69 6f 6e 69 6e 67 61 74 |$msposit|ioningat|
|00002d20| 74 75 73 65 64 29 20 2b | 20 27 20 74 69 6d 65 28 |tused) +| ' time(|
|00002d30| 73 29 2e 20 54 68 69 73 | 20 61 74 74 72 69 62 75 |s). This| attribu|
|00002d40| 74 65 20 69 73 20 75 73 | 75 61 6c 6c 79 20 61 64 |te is us|ually ad|
|00002d50| 64 65 64 20 62 79 20 4d | 69 63 72 6f 73 6f 66 74 |ded by M|icrosoft|
|00002d60| 20 73 6f 66 74 77 61 72 | 65 20 61 6e 64 20 69 73 | softwar|e and is|
|00002d70| 20 6e 6f 74 20 61 6e 20 | 6f 66 66 69 63 69 61 6c | not an |official|
|00002d80| 20 48 54 4d 4c 20 6f 72 | 20 58 48 54 4d 4c 20 61 | HTML or| XHTML a|
|00002d90| 74 74 72 69 62 75 74 65 | 2e 20 48 6f 77 65 76 65 |ttribute|. Howeve|
|00002da0| 72 2c 20 69 74 20 77 61 | 73 20 69 67 6e 6f 72 65 |r, it wa|s ignore|
|00002db0| 64 20 62 65 63 61 75 73 | 65 20 69 74 20 69 73 20 |d becaus|e it is |
|00002dc0| 75 6e 6c 69 6b 65 6c 79 | 20 74 6f 20 63 61 75 73 |unlikely| to caus|
|00002dd0| 65 20 70 72 6f 62 6c 65 | 6d 73 20 77 69 74 68 20 |e proble|ms with |
|00002de0| 62 72 6f 77 73 65 72 73 | 2e 27 29 3b 0d 0a 20 7d |browsers|.');.. }|
|00002df0| 0d 0a 7d 0d 0a 0d 0a 69 | 66 20 28 20 28 24 68 74 |..}....i|f ( ($ht|
|00002e00| 6d 6c 74 79 70 65 64 6f | 63 3d 3d 31 29 20 29 20 |mltypedo|c==1) ) |
|00002e10| 7b 0d 0a 20 69 66 20 28 | 20 28 69 73 44 65 66 69 |{.. if (| (isDefi|
|00002e20| 6e 65 64 28 22 68 65 61 | 64 74 61 67 63 6f 75 6e |ned("hea|dtagcoun|
|00002e30| 74 22 29 29 20 26 26 20 | 28 24 70 69 63 73 6c 61 |t")) && |($picsla|
|00002e40| 62 65 6c 75 73 65 64 3d | 3d 30 29 20 29 20 7b 0d |belused=|=0) ) {.|
|00002e50| 0a 20 20 4d 65 73 73 61 | 67 65 45 78 28 31 33 2c |. Messa|geEx(13,|
|00002e60| 20 31 30 32 30 37 31 35 | 31 35 38 2c 20 24 4d 53 | 1020715|158, $MS|
|00002e70| 47 5f 43 4f 4d 4d 45 4e | 54 2c 20 27 41 6e 20 49 |G_COMMEN|T, 'An I|
|00002e80| 43 52 41 20 6c 61 62 65 | 6c 20 28 61 20 72 61 74 |CRA labe|l (a rat|
|00002e90| 69 6e 67 20 22 6d 65 74 | 61 22 20 74 61 67 29 20 |ing "met|a" tag) |
|00002ea0| 77 61 73 20 6e 6f 74 20 | 66 6f 75 6e 64 20 69 6e |was not |found in|
|00002eb0| 20 74 68 65 20 22 68 65 | 61 64 22 20 73 65 63 74 | the "he|ad" sect|
|00002ec0| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 64 6f 63 75 |ion of t|his docu|
|00002ed0| 6d 65 6e 74 2e 20 42 72 | 6f 77 73 65 72 73 20 74 |ment. Br|owsers t|
|00002ee0| 68 61 74 20 61 72 65 20 | 65 6e 61 62 6c 65 64 20 |hat are |enabled |
|00002ef0| 77 69 74 68 20 74 68 69 | 73 20 72 61 74 69 6e 67 |with thi|s rating|
|00002f00| 20 73 79 73 74 65 6d 20 | 6d 61 79 20 6e 6f 74 20 | system |may not |
|00002f10| 64 69 73 70 6c 61 79 20 | 64 6f 63 75 6d 65 6e 74 |display |document|
|00002f20| 73 20 74 68 61 74 20 68 | 61 76 65 20 6e 6f 74 20 |s that h|ave not |
|00002f30| 62 65 65 6e 20 6c 61 62 | 65 6c 6c 65 64 2e 20 49 |been lab|elled. I|
|00002f40| 66 20 79 6f 75 20 68 61 | 76 65 20 6c 61 62 65 6c |f you ha|ve label|
|00002f50| 6c 65 64 20 74 68 69 73 | 20 64 6f 63 75 6d 65 6e |led this| documen|
|00002f60| 74 20 62 79 20 72 61 74 | 69 6e 67 20 74 68 65 20 |t by rat|ing the |
|00002f70| 73 65 63 74 69 6f 6e 20 | 28 64 69 72 65 63 74 6f |section |(directo|
|00002f80| 72 79 29 20 69 6e 20 77 | 68 69 63 68 20 69 74 20 |ry) in w|hich it |
|00002f90| 69 73 20 66 6f 75 6e 64 | 2c 20 6f 72 20 69 66 20 |is found|, or if |
|00002fa0| 79 6f 75 72 20 73 69 74 | 65 20 69 73 20 61 20 70 |your sit|e is a p|
|00002fb0| 65 72 73 6f 6e 61 6c 20 | 77 65 62 20 73 70 61 63 |ersonal |web spac|
|00002fc0| 65 20 6f 6e 20 61 20 6c | 61 72 67 65 20 49 6e 74 |e on a l|arge Int|
|00002fd0| 65 72 6e 65 74 20 53 65 | 72 76 69 63 65 20 50 72 |ernet Se|rvice Pr|
|00002fe0| 6f 76 69 64 65 72 2c 20 | 69 74 20 69 73 20 73 74 |ovider, |it is st|
|00002ff0| 69 6c 6c 20 72 65 63 6f | 6d 6d 65 6e 64 65 64 20 |ill reco|mmended |
|00003000| 74 68 61 74 20 79 6f 75 | 20 69 6e 63 6c 75 64 65 |that you| include|
|00003010| 20 74 68 65 20 72 61 74 | 69 6e 67 20 22 6d 65 74 | the rat|ing "met|
|00003020| 61 22 20 74 61 67 20 6f | 6e 20 61 6c 6c 20 6f 66 |a" tag o|n all of|
|00003030| 20 79 6f 75 72 20 70 61 | 67 65 73 20 66 6f 72 20 | your pa|ges for |
|00003040| 70 65 72 66 6f 72 6d 61 | 6e 63 65 20 72 65 61 73 |performa|nce reas|
|00003050| 6f 6e 73 2e 20 46 6f 72 | 20 6d 6f 72 65 20 69 6e |ons. For| more in|
|00003060| 66 6f 72 6d 61 74 69 6f | 6e 2c 20 70 6c 65 61 73 |formatio|n, pleas|
|00003070| 65 20 76 69 73 69 74 20 | 68 74 74 70 3a 2f 2f 77 |e visit |http://w|
|00003080| 77 77 2e 69 63 72 61 2e | 6f 72 67 2f 2e 27 29 3b |ww.icra.|org/.');|
|00003090| 0d 0a 20 7d 0d 0a 0d 0a | 20 69 66 20 28 20 28 69 |.. }....| if ( (i|
|000030a0| 73 44 65 66 69 6e 65 64 | 28 22 68 65 61 64 74 61 |sDefined|("headta|
|000030b0| 67 63 6f 75 6e 74 22 29 | 29 20 26 26 20 28 21 69 |gcount")|) && (!i|
|000030c0| 73 44 65 66 69 6e 65 64 | 28 22 6d 65 74 61 68 74 |sDefined|("metaht|
|000030d0| 74 70 65 71 75 69 76 63 | 6f 6e 74 65 6e 74 2d 74 |tpequivc|ontent-t|
|000030e0| 79 70 65 75 73 65 64 22 | 29 29 20 29 20 7b 0d 0a |ypeused"|)) ) {..|
|000030f0| 20 69 66 20 28 20 24 64 | 6f 63 75 6d 65 6e 74 74 | if ( $d|ocumentt|
|00003100| 79 70 65 3d 3d 34 20 29 | 20 7b 0d 0a 20 20 24 74 |ype==4 )| {.. $t|
|00003110| 65 6d 70 3d 27 3c 6d 65 | 74 61 20 68 74 74 70 2d |emp='<me|ta http-|
|00003120| 65 71 75 69 76 3d 22 43 | 6f 6e 74 65 6e 74 2d 54 |equiv="C|ontent-T|
|00003130| 79 70 65 22 20 63 6f 6e | 74 65 6e 74 3d 22 74 65 |ype" con|tent="te|
|00003140| 78 74 2f 68 74 6d 6c 3b | 20 63 68 61 72 73 65 74 |xt/html;| charset|
|00003150| 3d 75 73 2d 61 73 63 69 | 69 22 20 2f 3e 27 3b 0d |=us-asci|i" />';.|
|00003160| 0a 20 20 24 74 65 6d 70 | 32 3d 22 6d 65 74 61 22 |. $temp|2="meta"|
|00003170| 3b 0d 0a 20 7d 0d 0a 20 | 65 6c 73 65 20 7b 0d 0a |;.. }.. |else {..|
|00003180| 20 20 24 74 65 6d 70 3d | 27 3c 6d 65 74 61 20 68 | $temp=|'<meta h|
|00003190| 74 74 70 2d 65 71 75 69 | 76 3d 22 43 6f 6e 74 65 |ttp-equi|v="Conte|
|000031a0| 6e 74 2d 54 79 70 65 22 | 20 63 6f 6e 74 65 6e 74 |nt-Type"| content|
|000031b0| 3d 22 74 65 78 74 2f 68 | 74 6d 6c 3b 20 63 68 61 |="text/h|tml; cha|
|000031c0| 72 73 65 74 3d 75 73 2d | 61 73 63 69 69 22 3e 27 |rset=us-|ascii">'|
|000031d0| 3b 0d 0a 20 20 24 74 65 | 6d 70 32 3d 22 6d 65 74 |;.. $te|mp2="met|
|000031e0| 61 22 3b 0d 0a 20 7d 0d | 0a 20 20 4d 65 73 73 61 |a";.. }.|. Messa|
|000031f0| 67 65 45 78 28 31 33 2c | 20 31 30 32 30 37 31 35 |geEx(13,| 1020715|
|00003200| 31 35 39 2c 20 24 4d 53 | 47 5f 43 4f 4d 4d 45 4e |159, $MS|G_COMMEN|
|00003210| 54 2c 20 27 41 6c 74 68 | 6f 75 67 68 20 6e 6f 74 |T, 'Alth|ough not|
|00003220| 20 6e 6f 72 6d 61 6c 6c | 79 20 6e 65 63 65 73 73 | normall|y necess|
|00003230| 61 72 79 2c 20 79 6f 75 | 20 6d 61 79 20 77 61 6e |ary, you| may wan|
|00003240| 74 20 74 6f 20 69 6e 63 | 6c 75 64 65 20 61 20 22 |t to inc|lude a "|
|00003250| 27 20 2b 20 24 74 65 6d | 70 32 20 2b 20 27 22 20 |' + $tem|p2 + '" |
|00003260| 74 61 67 20 73 69 6d 69 | 6c 61 72 20 74 6f 20 74 |tag simi|lar to t|
|00003270| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 69 6e 20 |he follo|wing in |
|00003280| 74 68 65 20 22 68 65 61 | 64 22 20 73 65 63 74 69 |the "hea|d" secti|
|00003290| 6f 6e 20 6f 66 20 79 6f | 75 72 20 64 6f 63 75 6d |on of yo|ur docum|
|000032a0| 65 6e 74 3a 20 27 2b 24 | 74 65 6d 70 29 3b 0d 0a |ent: '+$|temp);..|
|000032b0| 20 7d 0d 0a 20 0d 0a 20 | 69 66 20 28 20 67 65 74 | }.. .. |if ( get|
|000032c0| 56 61 6c 75 65 49 6e 74 | 28 33 32 29 3e 30 20 29 |ValueInt|(32)>0 )|
|000032d0| 20 7b 0d 0a 20 20 23 63 | 73 65 63 73 3d 67 65 74 | {.. #c|secs=get|
|000032e0| 56 61 6c 75 65 49 6e 74 | 28 33 32 29 3b 0d 0a 20 |ValueInt|(32);.. |
|000032f0| 20 69 66 20 28 20 28 67 | 65 74 56 61 6c 75 65 49 | if ( (g|etValueI|
|00003300| 6e 74 28 32 32 29 26 31 | 33 31 32 29 3d 3d 32 35 |nt(22)&1|312)==25|
|00003310| 36 20 29 20 7b 20 2f 2a | 20 44 4f 43 54 59 50 45 |6 ) { /*| DOCTYPE|
|00003320| 20 65 78 69 73 74 73 2c | 20 63 6f 6e 74 61 69 6e | exists,| contain|
|00003330| 73 20 48 54 4d 4c 20 62 | 75 74 20 6e 6f 74 20 58 |s HTML b|ut not X|
|00003340| 48 54 4d 4c 0d 0a 20 20 | 20 4d 65 73 73 61 67 65 |HTML.. | Message|
|00003350| 45 78 28 31 33 2c 20 32 | 30 30 33 30 34 32 33 30 |Ex(13, 2|00304230|
|00003360| 31 2c 20 24 4d 53 47 5f | 45 52 52 4f 52 2c 20 27 |1, $MSG_|ERROR, '|
|00003370| 54 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 63 6f |This doc|ument co|
|00003380| 6e 74 61 69 6e 73 20 27 | 20 2b 20 74 6f 53 74 72 |ntains '| + toStr|
|00003390| 69 6e 67 28 24 63 73 65 | 63 73 29 20 2b 20 27 20 |ing($cse|cs) + ' |
|000033a0| 43 44 41 54 41 20 27 20 | 2b 20 70 6c 75 72 61 6c |CDATA ' |+ plural|
|000033b0| 69 7a 65 28 27 73 65 63 | 74 69 6f 6e 27 2c 20 24 |ize('sec|tion', $|
|000033c0| 63 73 65 63 73 29 20 2b | 20 27 2e 20 43 44 41 54 |csecs) +| '. CDAT|
|000033d0| 41 20 73 65 63 74 69 6f | 6e 73 20 73 68 6f 75 6c |A sectio|ns shoul|
|000033e0| 64 20 6e 6f 74 20 62 65 | 20 75 73 65 64 20 69 6e |d not be| used in|
|000033f0| 20 48 54 4d 4c 2c 20 62 | 75 74 20 6d 61 79 20 62 | HTML, b|ut may b|
|00003400| 65 20 75 73 65 64 20 69 | 6e 20 58 48 54 4d 4c 20 |e used i|n XHTML |
|00003410| 28 74 68 6f 75 67 68 20 | 69 74 20 69 73 20 6e 6f |(though |it is no|
|00003420| 74 20 72 65 63 6f 6d 6d | 65 6e 64 65 64 20 64 75 |t recomm|ended du|
|00003430| 65 20 74 6f 20 70 6f 6f | 72 20 62 72 6f 77 73 65 |e to poo|r browse|
|00003440| 72 20 73 75 70 70 6f 72 | 74 20 61 6e 64 20 64 75 |r suppor|t and du|
|00003450| 65 20 74 6f 20 6f 74 68 | 65 72 20 63 6f 6d 70 6c |e to oth|er compl|
|00003460| 69 63 61 74 69 6f 6e 73 | 29 2e 27 29 3b 0d 0a 20 |ications|).');.. |
|00003470| 20 7d 0d 0a 20 20 65 6c | 73 65 20 7b 0d 0a 20 20 | }.. el|se {.. |
|00003480| 20 4d 65 73 73 61 67 65 | 45 78 28 31 33 2c 20 32 | Message|Ex(13, 2|
|00003490| 30 30 33 30 34 32 33 30 | 30 2c 20 24 4d 53 47 5f |00304230|0, $MSG_|
|000034a0| 57 41 52 4e 49 4e 47 2c | 20 27 54 68 69 73 20 64 |WARNING,| 'This d|
|000034b0| 6f 63 75 6d 65 6e 74 20 | 63 6f 6e 74 61 69 6e 73 |ocument |contains|
|000034c0| 20 27 20 2b 20 74 6f 53 | 74 72 69 6e 67 28 24 63 | ' + toS|tring($c|
|000034d0| 73 65 63 73 29 20 2b 20 | 27 20 43 44 41 54 41 20 |secs) + |' CDATA |
|000034e0| 27 20 2b 20 70 6c 75 72 | 61 6c 69 7a 65 28 27 73 |' + plur|alize('s|
|000034f0| 65 63 74 69 6f 6e 27 2c | 20 24 63 73 65 63 73 29 |ection',| $csecs)|
|00003500| 20 2b 20 27 2e 20 55 73 | 69 6e 67 20 43 44 41 54 | + '. Us|ing CDAT|
|00003510| 41 20 73 65 63 74 69 6f | 6e 73 20 69 73 20 6e 6f |A sectio|ns is no|
|00003520| 74 20 72 65 63 6f 6d 6d | 65 6e 64 65 64 20 64 75 |t recomm|ended du|
|00003530| 65 20 74 6f 20 70 6f 6f | 72 20 62 72 6f 77 73 65 |e to poo|r browse|
|00003540| 72 20 73 75 70 70 6f 72 | 74 20 28 65 76 65 6e 20 |r suppor|t (even |
|00003550| 73 6f 6d 65 20 6e 65 77 | 65 72 20 62 72 6f 77 73 |some new|er brows|
|00003560| 65 72 73 20 66 61 69 6c | 20 74 6f 20 70 72 6f 70 |ers fail| to prop|
|00003570| 65 72 6c 79 20 73 75 70 | 70 6f 72 74 20 69 74 29 |erly sup|port it)|
|00003580| 20 61 6e 64 20 64 75 65 | 20 74 6f 20 6f 74 68 65 | and due| to othe|
|00003590| 72 20 63 6f 6d 70 6c 69 | 63 61 74 69 6f 6e 73 2e |r compli|cations.|
|000035a0| 20 41 49 20 49 6e 74 65 | 72 6e 65 74 20 53 6f 6c | AI Inte|rnet Sol|
|000035b0| 75 74 69 6f 6e 73 20 72 | 65 63 6f 6d 6d 65 6e 64 |utions r|ecommend|
|000035c0| 73 20 61 76 6f 69 64 69 | 6e 67 20 43 44 41 54 41 |s avoidi|ng CDATA|
|000035d0| 20 73 65 63 74 69 6f 6e | 73 20 69 66 20 70 6f 73 | section|s if pos|
|000035e0| 73 69 62 6c 65 2e 27 29 | 3b 0d 0a 20 20 7d 0d 0a |sible.')|;.. }..|
|000035f0| 20 7d 0d 0a 7d 0d 0a 0d | 0a 69 66 20 28 20 69 73 | }..}...|.if ( is|
|00003600| 44 65 66 69 6e 65 64 28 | 22 74 72 61 6e 73 70 61 |Defined(|"transpa|
|00003610| 72 65 6e 63 79 77 65 62 | 74 76 61 74 74 75 73 65 |rencyweb|tvattuse|
|00003620| 64 22 29 20 29 20 7b 0d | 0a 20 69 66 20 28 20 69 |d") ) {.|. if ( i|
|00003630| 73 46 6c 61 67 53 65 74 | 28 32 33 29 20 29 20 7b |sFlagSet|(23) ) {|
|00003640| 0d 0a 20 20 4d 65 73 73 | 61 67 65 45 78 28 35 2c |.. Mess|ageEx(5,|
|00003650| 20 32 30 30 32 30 37 31 | 35 39 30 2c 20 24 4d 53 | 2002071|590, $MS|
|00003660| 47 5f 43 4f 4d 4d 45 4e | 54 2c 20 24 57 45 42 54 |G_COMMEN|T, $WEBT|
|00003670| 56 2c 20 27 5b 32 33 5d | 20 59 6f 75 27 20 2b 20 |V, '[23]| You' + |
|00003680| 22 27 22 20 2b 20 27 76 | 65 20 75 73 65 64 20 74 |"'" + 'v|e used t|
|00003690| 68 65 20 57 65 62 54 56 | 20 22 74 72 61 6e 73 70 |he WebTV| "transp|
|000036a0| 61 72 65 6e 63 79 22 20 | 61 74 74 72 69 62 75 74 |arency" |attribut|
|000036b0| 65 20 61 74 20 6c 65 61 | 73 74 20 6f 6e 63 65 2e |e at lea|st once.|
|000036c0| 20 55 73 69 6e 67 20 61 | 20 76 61 6c 75 65 20 6f | Using a| value o|
|000036d0| 66 20 35 30 20 66 6f 72 | 20 74 68 69 73 20 61 74 |f 50 for| this at|
|000036e0| 74 72 69 62 75 74 65 20 | 6d 61 79 20 63 61 75 73 |tribute |may caus|
|000036f0| 65 20 77 65 62 20 70 61 | 67 65 73 20 74 6f 20 72 |e web pa|ges to r|
|00003700| 65 6e 64 65 72 20 66 61 | 73 74 65 72 20 6f 6e 20 |ender fa|ster on |
|00003710| 61 20 57 65 62 54 56 20 | 62 72 6f 77 73 65 72 20 |a WebTV |browser |
|00003720| 64 75 65 20 74 6f 20 6f | 70 74 69 6d 69 7a 61 74 |due to o|ptimizat|
|00003730| 69 6f 6e 73 2e 27 29 3b | 0d 0a 20 7d 0d 0a 7d 0d |ions.');|.. }..}.|
|00003740| 0a 0d 0a 69 66 20 28 20 | 69 73 46 6c 61 67 53 65 |...if ( |isFlagSe|
|00003750| 74 28 31 30 29 20 29 20 | 7b 0d 0a 20 4d 65 73 73 |t(10) ) |{.. Mess|
|00003760| 61 67 65 45 78 28 39 2c | 20 24 4d 53 47 5f 43 4f |ageEx(9,| $MSG_CO|
|00003770| 4d 4d 45 4e 54 2c 20 22 | 5b 31 30 5d 20 43 53 45 |MMENT, "|[10] CSE|
|00003780| 20 48 54 4d 4c 20 56 61 | 6c 69 64 61 74 6f 72 20 | HTML Va|lidator |
|00003790| 53 74 64 2f 50 72 6f 20 | 61 6c 6c 6f 77 73 20 79 |Std/Pro |allows y|
|000037a0| 6f 75 20 74 6f 20 64 69 | 73 61 62 6c 65 20 63 65 |ou to di|sable ce|
|000037b0| 72 74 61 69 6e 20 6d 65 | 73 73 61 67 65 73 20 28 |rtain me|ssages (|
|000037c0| 6c 69 6b 65 20 74 68 69 | 73 20 65 78 61 6d 70 6c |like thi|s exampl|
|000037d0| 65 20 6d 65 73 73 61 67 | 65 29 20 61 6e 64 20 67 |e messag|e) and g|
|000037e0| 72 6f 75 70 73 20 6f 66 | 20 72 65 6c 61 74 65 64 |roups of| related|
|000037f0| 20 6d 65 73 73 61 67 65 | 73 20 62 79 20 64 69 73 | message|s by dis|
|00003800| 61 62 6c 69 6e 67 20 66 | 6c 61 67 73 2e 20 46 6f |abling f|lags. Fo|
|00003810| 72 20 69 6e 73 74 61 6e | 63 65 2c 20 74 68 65 20 |r instan|ce, the |
|00003820| 5b 31 30 5d 20 61 74 20 | 74 68 65 20 62 65 67 69 |[10] at |the begi|
|00003830| 6e 6e 69 6e 67 20 6f 66 | 20 74 68 69 73 20 6d 65 |nning of| this me|
|00003840| 73 73 61 67 65 20 69 6e | 64 69 63 61 74 65 73 20 |ssage in|dicates |
|00003850| 74 68 61 74 20 79 6f 75 | 20 63 61 6e 20 64 69 73 |that you| can dis|
|00003860| 61 62 6c 65 20 74 68 69 | 73 20 6d 65 73 73 61 67 |able thi|s messag|
|00003870| 65 20 62 79 20 64 69 73 | 61 62 6c 69 6e 67 20 76 |e by dis|abling v|
|00003880| 61 6c 69 64 61 74 6f 72 | 20 66 6c 61 67 20 31 30 |alidator| flag 10|
|00003890| 2e 20 49 66 20 79 6f 75 | 20 61 72 65 20 75 73 69 |. If you| are usi|
|000038a0| 6e 67 20 48 54 4d 4c 20 | 56 61 6c 69 64 61 74 6f |ng HTML |Validato|
|000038b0| 72 27 73 20 69 6e 74 65 | 67 72 61 74 65 64 20 65 |r's inte|grated e|
|000038c0| 64 69 74 6f 72 2c 20 74 | 68 65 6e 20 79 6f 75 20 |ditor, t|hen you |
|000038d0| 63 61 6e 20 73 69 6d 70 | 6c 79 20 75 73 65 20 79 |can simp|ly use y|
|000038e0| 6f 75 72 20 6d 6f 75 73 | 65 20 6f 6e 20 74 68 69 |our mous|e on thi|
|000038f0| 73 20 6d 65 73 73 61 67 | 65 20 74 6f 20 6f 70 65 |s messag|e to ope|
|00003900| 6e 20 74 68 65 20 63 6f | 6e 74 65 78 74 20 6d 65 |n the co|ntext me|
|00003910| 6e 75 20 28 75 73 75 61 | 6c 6c 79 20 64 6f 6e 65 |nu (usua|lly done|
|00003920| 20 62 79 20 72 69 67 68 | 74 2d 63 6c 69 63 6b 69 | by righ|t-clicki|
|00003930| 6e 67 20 74 68 65 20 6d | 6f 75 73 65 20 6f 6e 20 |ng the m|ouse on |
|00003940| 74 68 69 73 20 6d 65 73 | 73 61 67 65 29 20 61 6e |this mes|sage) an|
|00003950| 64 20 73 65 6c 65 63 74 | 20 27 44 69 73 61 62 6c |d select| 'Disabl|
|00003960| 65 20 46 6c 61 67 20 31 | 30 27 20 74 6f 20 64 69 |e Flag 1|0' to di|
|00003970| 73 61 62 6c 65 20 74 68 | 69 73 20 6d 65 73 73 61 |sable th|is messa|
|00003980| 67 65 2e 20 46 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |ge. For |more inf|
|00003990| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 64 |ormation| about d|
|000039a0| 69 73 61 62 6c 69 6e 67 | 20 6d 65 73 73 61 67 65 |isabling| message|
|000039b0| 73 2c 20 70 6c 65 61 73 | 65 20 6c 6f 6f 6b 20 61 |s, pleas|e look a|
|000039c0| 74 20 74 68 65 20 43 6f | 6e 66 69 67 75 72 61 74 |t the Co|nfigurat|
|000039d0| 69 6f 6e 20 73 65 63 74 | 69 6f 6e 20 69 6e 20 74 |ion sect|ion in t|
|000039e0| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|000039f0| 2e 22 29 3b 0d 0a 7d 0d | 0a 0d 0a 4d 65 73 73 61 |.");..}.|...Messa|
|00003a00| 67 65 45 78 28 31 33 2c | 20 32 30 30 33 30 31 32 |geEx(13,| 2003012|
|00003a10| 30 30 34 2c 20 24 4d 53 | 47 5f 43 4f 4d 4d 45 4e |004, $MS|G_COMMEN|
|00003a20| 54 2c 20 22 43 53 45 20 | 48 54 4d 4c 20 56 61 6c |T, "CSE |HTML Val|
|00003a30| 69 64 61 74 6f 72 20 53 | 74 64 2f 50 72 6f 20 61 |idator S|td/Pro a|
|00003a40| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 64 69 73 |llows yo|u to dis|
|00003a50| 61 62 6c 65 20 6d 61 6e | 79 20 6d 65 73 73 61 67 |able man|y messag|
|00003a60| 65 73 20 6f 6e 20 61 6e | 20 69 6e 64 69 76 69 64 |es on an| individ|
|00003a70| 75 61 6c 20 62 61 73 69 | 73 20 77 69 74 68 6f 75 |ual basi|s withou|
|00003a80| 74 20 75 73 69 6e 67 20 | 66 6c 61 67 73 2e 20 46 |t using |flags. F|
|00003a90| 6f 72 20 69 6e 73 74 61 | 6e 63 65 2c 20 79 6f 75 |or insta|nce, you|
|00003aa0| 20 63 61 6e 20 64 69 73 | 61 62 6c 65 20 74 68 69 | can dis|able thi|
|00003ab0| 73 20 6d 65 73 73 61 67 | 65 20 62 79 20 75 73 69 |s messag|e by usi|
|00003ac0| 6e 67 20 48 54 4d 4c 20 | 56 61 6c 69 64 61 74 6f |ng HTML |Validato|
|00003ad0| 72 27 73 20 69 6e 74 65 | 67 72 61 74 65 64 20 65 |r's inte|grated e|
|00003ae0| 64 69 74 6f 72 20 74 6f | 20 6f 70 65 6e 20 74 68 |ditor to| open th|
|00003af0| 65 20 63 6f 6e 74 65 78 | 74 20 6d 65 6e 75 20 66 |e contex|t menu f|
|00003b00| 6f 72 20 74 68 69 73 20 | 6d 65 73 73 61 67 65 20 |or this |message |
|00003b10| 28 75 73 75 61 6c 6c 79 | 20 64 6f 6e 65 20 62 79 |(usually| done by|
|00003b20| 20 72 69 67 68 74 2d 63 | 6c 69 63 6b 69 6e 67 20 | right-c|licking |
|00003b30| 74 68 65 20 6d 6f 75 73 | 65 20 6f 6e 20 74 68 69 |the mous|e on thi|
|00003b40| 73 20 6d 65 73 73 61 67 | 65 29 20 61 6e 64 20 73 |s messag|e) and s|
|00003b50| 65 6c 65 63 74 69 6e 67 | 20 27 4f 70 74 69 6f 6e |electing| 'Option|
|00003b60| 73 20 66 6f 72 20 74 68 | 69 73 20 4d 65 73 73 61 |s for th|is Messa|
|00003b70| 67 65 2d 3e 44 69 73 61 | 62 6c 65 20 4d 65 73 73 |ge->Disa|ble Mess|
|00003b80| 61 67 65 27 20 74 6f 20 | 64 69 73 61 62 6c 65 20 |age' to |disable |
|00003b90| 74 68 69 73 20 6d 65 73 | 73 61 67 65 2e 20 46 6f |this mes|sage. Fo|
|00003ba0| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|00003bb0| 6f 6e 20 61 62 6f 75 74 | 20 64 69 73 61 62 6c 69 |on about| disabli|
|00003bc0| 6e 67 20 6d 65 73 73 61 | 67 65 73 2c 20 70 6c 65 |ng messa|ges, ple|
|00003bd0| 61 73 65 20 6c 6f 6f 6b | 20 61 74 20 74 68 65 20 |ase look| at the |
|00003be0| 43 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 73 65 |Configur|ation se|
|00003bf0| 63 74 69 6f 6e 20 69 6e | 20 74 68 65 20 64 6f 63 |ction in| the doc|
|00003c00| 75 6d 65 6e 74 61 74 69 | 6f 6e 2e 22 29 3b 0d 0a |umentati|on.");..|
|00003c10| 0d 0a 4d 65 73 73 61 67 | 65 45 78 28 31 33 2c 20 |..Messag|eEx(13, |
|00003c20| 31 30 32 30 37 31 35 31 | 36 31 2c 20 24 4d 53 47 |10207151|61, $MSG|
|00003c30| 5f 43 4f 4d 4d 45 4e 54 | 2c 20 74 6f 53 74 72 69 |_COMMENT|, toStri|
|00003c40| 6e 67 28 24 62 79 74 65 | 73 29 20 2b 20 27 20 62 |ng($byte|s) + ' b|
|00003c50| 79 74 65 73 3b 20 27 20 | 2b 20 74 6f 53 74 72 69 |ytes; ' |+ toStri|
|00003c60| 6e 67 46 28 24 62 79 74 | 65 73 2f 31 34 34 30 2c |ngF($byt|es/1440,|
|00003c70| 20 22 25 2e 31 66 22 29 | 20 2b 20 27 73 40 31 34 | "%.1f")| + 's@14|
|00003c80| 2e 34 4b 62 70 73 2c 20 | 27 20 2b 0d 0a 20 74 6f |.4Kbps, |' +.. to|
|00003c90| 53 74 72 69 6e 67 46 28 | 24 62 79 74 65 73 2f 32 |StringF(|$bytes/2|
|00003ca0| 38 38 30 2c 20 22 25 2e | 31 66 22 29 20 2b 20 27 |880, "%.|1f") + '|
|00003cb0| 73 40 32 38 2e 38 2c 20 | 27 20 2b 0d 0a 20 74 6f |s@28.8, |' +.. to|
|00003cc0| 53 74 72 69 6e 67 46 28 | 24 62 79 74 65 73 2f 35 |StringF(|$bytes/5|
|00003cd0| 30 30 30 2c 20 22 25 2e | 31 66 22 29 20 2b 20 27 |000, "%.|1f") + '|
|00003ce0| 73 40 35 30 2c 20 27 20 | 2b 0d 0a 20 74 6f 53 74 |s@50, ' |+.. toSt|
|00003cf0| 72 69 6e 67 46 28 24 62 | 79 74 65 73 2f 36 34 30 |ringF($b|ytes/640|
|00003d00| 30 2c 20 22 25 2e 31 66 | 22 29 20 2b 20 27 73 40 |0, "%.1f|") + 's@|
|00003d10| 36 34 2c 20 27 20 2b 0d | 0a 20 74 6f 53 74 72 69 |64, ' +.|. toStri|
|00003d20| 6e 67 46 28 24 62 79 74 | 65 73 2f 31 32 38 30 30 |ngF($byt|es/12800|
|00003d30| 2c 20 22 25 2e 31 66 22 | 29 20 2b 20 27 73 40 31 |, "%.1f"|) + 's@1|
|00003d40| 32 38 2c 20 27 20 2b 0d | 0a 20 74 6f 53 74 72 69 |28, ' +.|. toStri|
|00003d50| 6e 67 46 28 24 62 79 74 | 65 73 2f 33 38 34 30 30 |ngF($byt|es/38400|
|00003d60| 2c 20 22 25 2e 31 66 22 | 29 20 2b 20 27 73 40 33 |, "%.1f"|) + 's@3|
|00003d70| 38 34 2c 20 27 20 2b 0d | 0a 20 74 6f 53 74 72 69 |84, ' +.|. toStri|
|00003d80| 6e 67 46 28 24 62 79 74 | 65 73 2f 35 31 32 30 30 |ngF($byt|es/51200|
|00003d90| 2c 20 22 25 2e 31 66 22 | 29 20 2b 20 27 73 40 35 |, "%.1f"|) + 's@5|
|00003da0| 31 32 2c 20 27 20 2b 0d | 0a 20 74 6f 53 74 72 69 |12, ' +.|. toStri|
|00003db0| 6e 67 46 28 24 62 79 74 | 65 73 2f 37 36 38 30 30 |ngF($byt|es/76800|
|00003dc0| 2c 20 22 25 2e 31 66 22 | 29 20 2b 20 27 73 40 37 |, "%.1f"|) + 's@7|
|00003dd0| 36 38 2c 20 27 20 2b 0d | 0a 20 74 6f 53 74 72 69 |68, ' +.|. toStri|
|00003de0| 6e 67 46 28 24 62 79 74 | 65 73 2f 31 35 30 30 30 |ngF($byt|es/15000|
|00003df0| 30 2c 20 22 25 2e 31 66 | 22 29 20 2b 20 27 73 40 |0, "%.1f|") + 's@|
|00003e00| 31 2e 35 4d 62 70 73 2c | 20 27 20 2b 0d 0a 20 74 |1.5Mbps,| ' +.. t|
|00003e10| 6f 53 74 72 69 6e 67 46 | 28 24 62 79 74 65 73 2f |oStringF|($bytes/|
|00003e20| 31 30 30 30 30 30 30 2c | 20 22 25 2e 31 66 22 29 |1000000,| "%.1f")|
|00003e30| 20 2b 20 27 73 40 31 30 | 4d 62 70 73 2e 27 29 3b | + 's@10|Mbps.');|
|00003e40| 0d 0a 0d 0a 24 66 69 6e | 61 6c 63 6f 6d 6d 65 6e |....$fin|alcommen|
|00003e50| 74 3d 74 6f 53 74 72 69 | 6e 67 46 28 67 65 74 56 |t=toStri|ngF(getV|
|00003e60| 61 6c 75 65 46 6c 6f 61 | 74 28 31 29 29 20 2b 20 |alueFloa|t(1)) + |
|00003e70| 22 73 2c 20 22 20 2b 0d | 0a 20 74 6f 53 74 72 69 |"s, " +.|. toStri|
|00003e80| 6e 67 28 67 65 74 56 61 | 6c 75 65 49 6e 74 28 31 |ng(getVa|lueInt(1|
|00003e90| 29 29 20 2b 20 70 6c 75 | 72 61 6c 69 7a 65 28 22 |)) + plu|ralize("|
|00003ea0| 20 65 72 72 6f 72 22 2c | 20 67 65 74 56 61 6c 75 | error",| getValu|
|00003eb0| 65 49 6e 74 28 31 29 29 | 20 2b 20 22 2c 20 22 20 |eInt(1))| + ", " |
|00003ec0| 2b 0d 0a 20 74 6f 53 74 | 72 69 6e 67 28 67 65 74 |+.. toSt|ring(get|
|00003ed0| 56 61 6c 75 65 49 6e 74 | 28 32 29 29 20 2b 20 70 |ValueInt|(2)) + p|
|00003ee0| 6c 75 72 61 6c 69 7a 65 | 28 22 20 77 61 72 6e 69 |luralize|(" warni|
|00003ef0| 6e 67 22 2c 20 67 65 74 | 56 61 6c 75 65 49 6e 74 |ng", get|ValueInt|
|00003f00| 28 32 29 29 20 2b 20 22 | 2c 20 22 20 2b 0d 0a 20 |(2)) + "|, " +.. |
|00003f10| 74 6f 53 74 72 69 6e 67 | 28 67 65 74 56 61 6c 75 |toString|(getValu|
|00003f20| 65 49 6e 74 28 33 29 29 | 20 2b 20 70 6c 75 72 61 |eInt(3))| + plura|
|00003f30| 6c 69 7a 65 28 22 20 6d | 65 73 73 61 67 65 22 2c |lize(" m|essage",|
|00003f40| 20 67 65 74 56 61 6c 75 | 65 49 6e 74 28 33 29 29 | getValu|eInt(3))|
|00003f50| 20 2b 20 22 2c 20 22 20 | 2b 0d 0a 20 74 6f 53 74 | + ", " |+.. toSt|
|00003f60| 72 69 6e 67 28 67 65 74 | 56 61 6c 75 65 49 6e 74 |ring(get|ValueInt|
|00003f70| 28 34 29 2b 31 29 20 2b | 20 70 6c 75 72 61 6c 69 |(4)+1) +| plurali|
|00003f80| 7a 65 28 22 20 76 61 6c | 69 64 61 74 6f 72 20 63 |ze(" val|idator c|
|00003f90| 6f 6d 6d 65 6e 74 22 2c | 20 67 65 74 56 61 6c 75 |omment",| getValu|
|00003fa0| 65 49 6e 74 28 34 29 2b | 31 29 20 2b 20 22 2c 20 |eInt(4)+|1) + ", |
|00003fb0| 22 20 2b 0d 0a 20 74 6f | 53 74 72 69 6e 67 28 67 |" +.. to|String(g|
|00003fc0| 65 74 56 61 6c 75 65 49 | 6e 74 28 38 29 29 20 2b |etValueI|nt(8)) +|
|00003fd0| 20 70 6c 75 72 61 6c 69 | 7a 65 28 22 20 6c 69 6e | plurali|ze(" lin|
|00003fe0| 65 22 2c 20 67 65 74 56 | 61 6c 75 65 49 6e 74 28 |e", getV|alueInt(|
|00003ff0| 38 29 29 20 2b 20 22 2c | 20 22 20 2b 0d 0a 20 74 |8)) + ",| " +.. t|
|00004000| 6f 53 74 72 69 6e 67 28 | 67 65 74 56 61 6c 75 65 |oString(|getValue|
|00004010| 49 6e 74 28 39 29 29 20 | 2b 20 70 6c 75 72 61 6c |Int(9)) |+ plural|
|00004020| 69 7a 65 28 22 20 74 61 | 67 22 2c 20 67 65 74 56 |ize(" ta|g", getV|
|00004030| 61 6c 75 65 49 6e 74 28 | 39 29 29 20 2b 20 22 20 |alueInt(|9)) + " |
|00004040| 28 22 20 2b 0d 0a 20 74 | 6f 53 74 72 69 6e 67 28 |(" +.. t|oString(|
|00004050| 67 65 74 56 61 6c 75 65 | 49 6e 74 28 31 30 29 29 |getValue|Int(10))|
|00004060| 2b 20 22 20 63 6c 6f 73 | 65 64 29 2c 20 22 20 2b |+ " clos|ed), " +|
|00004070| 0d 0a 20 74 6f 53 74 72 | 69 6e 67 28 67 65 74 56 |.. toStr|ing(getV|
|00004080| 61 6c 75 65 49 6e 74 28 | 31 31 29 29 20 2b 20 70 |alueInt(|11)) + p|
|00004090| 6c 75 72 61 6c 69 7a 65 | 28 22 20 64 6f 63 75 6d |luralize|(" docum|
|000040a0| 65 6e 74 20 63 6f 6d 6d | 65 6e 74 22 2c 20 67 65 |ent comm|ent", ge|
|000040b0| 74 56 61 6c 75 65 49 6e | 74 28 31 31 29 29 20 2b |tValueIn|t(11)) +|
|000040c0| 20 22 2c 20 22 20 2b 0d | 0a 20 74 6f 53 74 72 69 | ", " +.|. toStri|
|000040d0| 6e 67 28 67 65 74 56 61 | 6c 75 65 49 6e 74 28 31 |ng(getVa|lueInt(1|
|000040e0| 32 29 29 20 2b 20 70 6c | 75 72 61 6c 69 7a 65 28 |2)) + pl|uralize(|
|000040f0| 22 20 65 6e 74 69 74 22 | 2c 20 67 65 74 56 61 6c |" entit"|, getVal|
|00004100| 75 65 49 6e 74 28 31 32 | 29 2c 31 29 20 2b 20 22 |ueInt(12|),1) + "|
|00004110| 2c 20 22 20 2b 0d 0a 20 | 74 6f 53 74 72 69 6e 67 |, " +.. |toString|
|00004120| 28 67 65 74 56 61 6c 75 | 65 49 6e 74 28 31 33 29 |(getValu|eInt(13)|
|00004130| 29 20 2b 20 70 6c 75 72 | 61 6c 69 7a 65 28 22 20 |) + plur|alize(" |
|00004140| 70 72 6f 67 72 61 6d 22 | 2c 20 67 65 74 56 61 6c |program"|, getVal|
|00004150| 75 65 49 6e 74 28 31 33 | 29 29 20 2b 20 22 20 72 |ueInt(13|)) + " r|
|00004160| 75 6e 2e 22 3b 0d 0a 4d | 65 73 73 61 67 65 45 78 |un.";..M|essageEx|
|00004170| 28 31 33 2c 20 32 30 30 | 32 30 37 31 35 39 33 2c |(13, 200|2071593,|
|00004180| 20 24 4d 53 47 5f 43 4f | 4d 4d 45 4e 54 2c 20 24 | $MSG_CO|MMENT, $|
|00004190| 66 69 6e 61 6c 63 6f 6d | 6d 65 6e 74 29 3b 0d 0a |finalcom|ment);..|
|000041a0| 0d 0a 72 75 6e 50 72 6f | 67 72 61 6d 28 36 34 29 |..runPro|gram(64)|
|000041b0| 3b 0d 0a 0d 0a 01 00 00 | 00 8f 15 00 00 0d 0a 69 |;.......|.......i|
|000041c0| 66 20 28 20 21 63 68 65 | 63 6b 56 65 72 73 69 6f |f ( !che|ckVersio|
|000041d0| 6e 28 36 2e 30 30 30 30 | 29 20 29 20 7b 0d 0a 20 |n(6.0000|) ) {.. |
|000041e0| 4d 65 73 73 61 67 65 45 | 78 28 31 33 2c 20 31 30 |MessageE|x(13, 10|
|000041f0| 32 30 37 31 35 31 36 32 | 2c 20 24 4d 53 47 42 4f |20715162|, $MSGBO|
|00004200| 58 5f 57 41 52 4e 49 4e | 47 2c 20 22 46 6f 72 20 |X_WARNIN|G, "For |
|00004210| 71 75 61 6c 69 74 79 20 | 72 65 61 73 6f 6e 73 2c |quality |reasons,|
|00004220| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 75 70 67 | you nee|d to upg|
|00004230| 72 61 64 65 20 74 6f 20 | 74 68 65 20 6c 61 74 65 |rade to |the late|
|00004240| 73 74 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 43 53 |st versi|on of CS|
|00004250| 45 20 48 54 4d 4c 20 56 | 61 6c 69 64 61 74 6f 72 |E HTML V|alidator|
|00004260| 20 53 74 61 6e 64 61 72 | 64 2f 50 72 6f 66 65 73 | Standar|d/Profes|
|00004270| 73 69 6f 6e 61 6c 20 62 | 65 63 61 75 73 65 20 79 |sional b|ecause y|
|00004280| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 20 74 68 69 |ou are u|sing thi|
|00004290| 73 20 6e 65 77 65 72 20 | 63 6f 6e 66 69 67 75 72 |s newer |configur|
|000042a0| 61 74 69 6f 6e 20 66 69 | 6c 65 2e 20 56 69 73 69 |ation fi|le. Visi|
|000042b0| 74 20 68 74 74 70 3a 2f | 2f 77 77 77 2e 68 74 6d |t http:/|/www.htm|
|000042c0| 6c 76 61 6c 69 64 61 74 | 6f 72 2e 63 6f 6d 2f 20 |lvalidat|or.com/ |
|000042d0| 74 6f 20 6f 62 74 61 69 | 6e 20 74 68 65 20 6c 61 |to obtai|n the la|
|000042e0| 74 65 73 74 20 76 65 72 | 73 69 6f 6e 2e 20 54 68 |test ver|sion. Th|
|000042f0| 69 73 20 6d 65 73 73 61 | 67 65 20 77 69 6c 6c 20 |is messa|ge will |
|00004300| 61 70 70 65 61 72 20 62 | 65 66 6f 72 65 20 65 76 |appear b|efore ev|
|00004310| 65 72 79 20 76 61 6c 69 | 64 61 74 69 6f 6e 20 75 |ery vali|dation u|
|00004320| 6e 74 69 6c 20 79 6f 75 | 20 75 70 67 72 61 64 65 |ntil you| upgrade|
|00004330| 2e 20 43 6f 6e 74 69 6e | 75 69 6e 67 20 74 6f 20 |. Contin|uing to |
|00004340| 75 73 65 20 74 68 69 73 | 20 6e 65 77 65 72 20 63 |use this| newer c|
|00004350| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 77 69 74 |onfigura|tion wit|
|00004360| 68 20 61 6e 20 6f 6c 64 | 65 72 20 76 65 72 73 69 |h an old|er versi|
|00004370| 6f 6e 20 6f 66 20 48 54 | 4d 4c 20 56 61 6c 69 64 |on of HT|ML Valid|
|00004380| 61 74 6f 72 20 6d 61 79 | 20 72 65 73 75 6c 74 20 |ator may| result |
|00004390| 69 6e 20 65 72 72 6f 6e | 65 6f 75 73 20 65 72 72 |in erron|eous err|
|000043a0| 6f 72 73 20 61 6e 64 2f | 6f 72 20 69 6d 70 72 6f |ors and/|or impro|
|000043b0| 70 65 72 20 76 61 6c 69 | 64 61 74 69 6f 6e 2e 22 |per vali|dation."|
|000043c0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 23 6a 6f 62 73 75 62 |);..}...|.#jobsub|
|000043d0| 74 79 70 65 3d 67 65 74 | 56 61 6c 75 65 49 6e 74 |type=get|ValueInt|
|000043e0| 28 32 30 29 3b 0d 0a 0d | 0a 23 6a 6f 62 73 75 62 |(20);...|.#jobsub|
|000043f0| 74 79 70 65 73 65 74 62 | 79 66 6c 61 67 3d 30 3b |typesetb|yflag=0;|
|00004400| 0d 0a 69 66 20 28 20 24 | 6a 6f 62 73 75 62 74 79 |..if ( $|jobsubty|
|00004410| 70 65 21 3d 2d 31 20 29 | 20 7b 0d 0a 20 40 70 72 |pe!=-1 )| {.. @pr|
|00004420| 6f 63 65 73 73 4a 6f 62 | 53 75 62 54 79 70 65 28 |ocessJob|SubType(|
|00004430| 29 3b 0d 0a 7d 0d 0a 65 | 6c 73 65 20 7b 0d 0a 20 |);..}..e|lse {.. |
|00004440| 69 66 20 28 20 21 69 73 | 46 6c 61 67 53 65 74 28 |if ( !is|FlagSet(|
|00004450| 35 38 29 20 29 20 7b 0d | 0a 20 20 73 65 74 56 61 |58) ) {.|. setVa|
|00004460| 6c 75 65 49 6e 74 28 32 | 30 2c 31 29 3b 0d 0a 20 |lueInt(2|0,1);.. |
|00004470| 20 23 6a 6f 62 73 75 62 | 74 79 70 65 73 65 74 62 | #jobsub|typesetb|
|00004480| 79 66 6c 61 67 3d 31 3b | 0d 0a 20 20 40 70 72 6f |yflag=1;|.. @pro|
|00004490| 63 65 73 73 4a 6f 62 53 | 75 62 54 79 70 65 28 29 |cessJobS|ubType()|
|000044a0| 3b 0d 0a 20 7d 0d 0a 20 | 65 6c 73 65 20 7b 0d 0a |;.. }.. |else {..|
|000044b0| 20 20 69 66 20 28 20 21 | 69 73 46 6c 61 67 53 65 | if ( !|isFlagSe|
|000044c0| 74 28 35 39 29 20 29 20 | 7b 0d 0a 20 20 20 73 65 |t(59) ) |{.. se|
|000044d0| 74 56 61 6c 75 65 49 6e | 74 28 32 30 2c 32 29 3b |tValueIn|t(20,2);|
|000044e0| 0d 0a 20 20 20 23 6a 6f | 62 73 75 62 74 79 70 65 |.. #jo|bsubtype|
|000044f0| 73 65 74 62 79 66 6c 61 | 67 3d 31 3b 0d 0a 20 20 |setbyfla|g=1;.. |
|00004500| 20 40 70 72 6f 63 65 73 | 73 4a 6f 62 53 75 62 54 | @proces|sJobSubT|
|00004510| 79 70 65 28 29 3b 0d 0a | 20 20 7d 0d 0a 20 7d 0d |ype();..| }.. }.|
|00004520| 0a 7d 0d 0a 0d 0a 69 66 | 20 28 20 69 73 46 6c 61 |.}....if| ( isFla|
|00004530| 67 53 65 74 28 31 32 29 | 20 29 20 7b 0d 0a 20 69 |gSet(12)| ) {.. i|
|00004540| 66 20 28 20 21 67 65 74 | 56 61 6c 75 65 69 6e 74 |f ( !get|Valueint|
|00004550| 28 31 36 29 20 29 20 7b | 0d 0a 20 20 73 65 74 50 |(16) ) {|.. setP|
|00004560| 72 69 6f 72 69 74 79 28 | 31 29 3b 0d 0a 20 7d 0d |riority(|1);.. }.|
|00004570| 0a 7d 0d 0a 0d 0a 24 63 | 68 65 63 6b 65 6e 74 69 |.}....$c|heckenti|
|00004580| 6e 61 74 74 76 61 6c 70 | 72 65 70 65 6e 64 3d 22 |nattvalp|repend="|
|00004590| 5b 36 34 5d 20 22 3b 0d | 0a 69 66 20 28 20 21 69 |[64] ";.|.if ( !i|
|000045a0| 73 46 6c 61 67 53 65 74 | 28 36 34 29 20 29 20 7b |sFlagSet|(64) ) {|
|000045b0| 0d 0a 20 73 65 74 46 6c | 61 67 28 33 2c 31 33 31 |.. setFl|ag(3,131|
|000045c0| 30 37 32 2c 30 29 3b 0d | 0a 7d 0d 0a 0d 0a 24 61 |072,0);.|.}....$a|
|000045d0| 6c 74 65 71 75 61 6c 73 | 6e 6f 74 68 69 6e 67 6d |ltequals|nothingm|
|000045e0| 65 73 73 61 67 65 3d 27 | 55 73 65 20 61 6c 74 3d |essage='|Use alt=|
|000045f0| 22 22 20 77 68 65 6e 20 | 61 6c 74 65 72 6e 61 74 |"" when |alternat|
|00004600| 65 20 74 65 78 74 20 69 | 73 20 6e 6f 74 20 61 70 |e text i|s not ap|
|00004610| 70 72 6f 70 72 69 61 74 | 65 2c 20 73 75 63 68 20 |propriat|e, such |
|00004620| 61 73 20 77 68 65 6e 20 | 69 6d 61 67 65 73 20 61 |as when |images a|
|00004630| 72 65 20 69 6e 74 65 6e | 64 65 64 20 74 6f 20 66 |re inten|ded to f|
|00004640| 6f 72 6d 61 74 20 61 20 | 70 61 67 65 20 28 73 75 |ormat a |page (su|
|00004650| 63 68 20 61 73 20 73 70 | 61 63 65 72 20 69 6d 61 |ch as sp|acer ima|
|00004660| 67 65 73 29 2e 27 3b 0d | 0a 0d 0a 24 65 6c 65 6d |ges).';.|...$elem|
|00004670| 65 6e 74 6e 6f 74 69 6e | 66 6f 72 6d 6d 73 67 3d |entnotin|formmsg=|
|00004680| 27 5b 35 5d 20 54 68 65 | 20 22 69 6e 70 75 74 22 |'[5] The| "input"|
|00004690| 2c 20 22 74 65 78 74 61 | 72 65 61 22 2c 20 6f 72 |, "texta|rea", or|
|000046a0| 20 22 73 65 6c 65 63 74 | 22 20 65 6c 65 6d 65 6e | "select|" elemen|
|000046b0| 74 20 69 73 20 6e 6f 74 | 20 69 6e 20 61 20 66 6f |t is not| in a fo|
|000046c0| 72 6d 2e 20 48 54 4d 4c | 20 34 2e 30 31 20 61 6e |rm. HTML| 4.01 an|
|000046d0| 64 20 58 48 54 4d 4c 20 | 61 6c 6c 6f 77 73 20 74 |d XHTML |allows t|
|000046e0| 68 69 73 20 62 75 74 20 | 79 6f 75 20 6d 61 79 20 |his but |you may |
|000046f0| 77 61 6e 74 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 |want to |make sur|
|00004700| 65 20 74 68 61 74 20 74 | 68 69 73 20 69 73 20 77 |e that t|his is w|
|00004710| 68 61 74 20 79 6f 75 20 | 77 61 6e 74 2e 20 53 6f |hat you |want. So|
|00004720| 6d 65 20 62 72 6f 77 73 | 65 72 73 2c 20 73 75 63 |me brows|ers, suc|
|00004730| 68 20 61 73 20 4e 65 74 | 73 63 61 70 65 20 4e 61 |h as Net|scape Na|
|00004740| 76 69 67 61 74 6f 72 2c | 20 6d 61 79 20 6e 6f 74 |vigator,| may not|
|00004750| 20 64 69 73 70 6c 61 79 | 20 74 68 65 73 65 20 65 | display| these e|
|00004760| 6c 65 6d 65 6e 74 73 20 | 69 66 20 74 68 65 79 20 |lements |if they |
|00004770| 61 72 65 20 6f 75 74 73 | 69 64 65 20 6f 66 20 61 |are outs|ide of a|
|00004780| 20 66 6f 72 6d 2e 20 54 | 68 69 73 20 6d 65 73 73 | form. T|his mess|
|00004790| 61 67 65 20 77 69 6c 6c | 20 6f 6e 6c 79 20 62 65 |age will| only be|
|000047a0| 20 64 69 73 70 6c 61 79 | 65 64 20 6f 6e 63 65 2e | display|ed once.|
|000047b0| 27 3b 0d 0a 0d 0a 23 70 | 69 63 73 6c 61 62 65 6c |';....#p|icslabel|
|000047c0| 75 73 65 64 3d 30 3b 0d | 0a 23 63 75 72 72 65 6e |used=0;.|.#curren|
|000047d0| 74 74 61 62 6c 65 6e 65 | 73 74 3d 30 3b 0d 0a 23 |ttablene|st=0;..#|
|000047e0| 6d 61 78 74 61 62 6c 65 | 6e 65 73 74 3d 30 3b 0d |maxtable|nest=0;.|
|000047f0| 0a 23 6e 75 6d 69 64 61 | 74 74 75 73 65 64 3d 30 |.#numida|ttused=0|
|00004800| 3b 0d 0a 23 6e 75 6d 74 | 61 62 6c 65 63 65 6c 6c |;..#numt|ablecell|
|00004810| 69 64 61 74 74 75 73 65 | 64 3d 30 3b 0d 0a 23 6e |idattuse|d=0;..#n|
|00004820| 75 6d 69 6e 74 65 72 6e | 61 6c 6c 69 6e 6b 73 3d |umintern|allinks=|
|00004830| 30 3b 0d 0a 23 72 62 63 | 69 6e 72 75 62 79 63 6f |0;..#rbc|inrubyco|
|00004840| 75 6e 74 3d 30 3b 0d 0a | 23 72 62 69 6e 72 75 62 |unt=0;..|#rbinrub|
|00004850| 79 63 6f 75 6e 74 3d 30 | 3b 0d 0a 23 72 74 63 69 |ycount=0|;..#rtci|
|00004860| 6e 72 75 62 79 63 6f 75 | 6e 74 3d 30 3b 0d 0a 0d |nrubycou|nt=0;...|
|00004870| 0a 2f 2a 20 30 20 2d 20 | 48 54 4d 4c 2c 20 31 20 |./* 0 - |HTML, 1 |
|00004880| 2d 20 53 4d 49 4c 2c 20 | 32 20 2d 20 52 65 61 6c |- SMIL, |2 - Real|
|00004890| 54 65 78 74 2c 20 33 20 | 2d 20 57 4d 4c 2c 20 34 |Text, 3 |- WML, 4|
|000048a0| 20 2d 20 58 48 54 4d 4c | 2c 20 35 20 2d 20 43 53 | - XHTML|, 5 - CS|
|000048b0| 45 20 54 65 78 74 20 49 | 6e 73 65 72 74 65 72 20 |E Text I|nserter |
|000048c0| 63 6f 6e 66 69 67 20 2a | 2f 0d 0a 23 64 6f 63 75 |config *|/..#docu|
|000048d0| 6d 65 6e 74 74 79 70 65 | 3d 30 3b 0d 0a 0d 0a 2f |menttype|=0;..../|
|000048e0| 2a 20 53 4d 49 4c 20 2a | 2f 0d 0a 0d 0a 2f 2a 20 |* SMIL *|/..../* |
|000048f0| 64 69 73 61 62 6c 65 20 | 53 4d 49 4c 2c 20 52 65 |disable |SMIL, Re|
|00004900| 61 6c 54 65 78 74 2c 20 | 57 4d 4c 20 2a 2f 0d 0a |alText, |WML */..|
|00004910| 2f 2a 20 61 63 74 69 76 | 61 74 65 43 61 74 65 67 |/* activ|ateCateg|
|00004920| 6f 72 79 28 32 36 2c 30 | 29 3b 0d 0a 61 63 74 69 |ory(26,0|);..acti|
|00004930| 76 61 74 65 43 61 74 65 | 67 6f 72 79 28 32 39 2c |vateCate|gory(29,|
|00004940| 30 29 3b 0d 0a 61 63 74 | 69 76 61 74 65 43 61 74 |0);..act|ivateCat|
|00004950| 65 67 6f 72 79 28 33 35 | 2c 30 29 3b 20 2a 2f 0d |egory(35|,0); */.|
|00004960| 0a 0d 0a 24 73 6d 69 6c | 74 69 74 6c 65 6d 65 73 |...$smil|titlemes|
|00004970| 73 61 67 65 3d 27 5b 32 | 30 5d 20 54 68 65 20 53 |sage='[2|0] The S|
|00004980| 4d 49 4c 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |MIL spec|ificatio|
|00004990| 6e 20 68 69 67 68 6c 79 | 20 72 65 63 6f 6d 6d 65 |n highly| recomme|
|000049a0| 6e 64 73 20 74 68 61 74 | 20 79 6f 75 20 75 73 65 |nds that| you use|
|000049b0| 20 61 20 22 74 69 74 6c | 65 22 20 61 74 74 72 69 | a "titl|e" attri|
|000049c0| 62 75 74 65 20 77 69 74 | 68 20 61 20 6d 65 61 6e |bute wit|h a mean|
|000049d0| 69 6e 67 66 75 6c 20 64 | 65 73 63 72 69 70 74 69 |ingful d|escripti|
|000049e0| 6f 6e 20 77 68 65 6e 20 | 79 6f 75 20 75 73 65 20 |on when |you use |
|000049f0| 74 68 65 20 27 3b 0d 0a | 0d 0a 24 68 65 61 64 69 |the ';..|..$headi|
|00004a00| 6e 67 6f 72 64 65 72 6d | 65 73 73 61 67 65 3d 27 |ngorderm|essage='|
|00004a10| 5b 37 5d 20 59 6f 75 27 | 20 2b 20 22 27 22 20 2b |[7] You'| + "'" +|
|00004a20| 20 27 76 65 20 75 73 65 | 64 20 61 20 68 65 61 64 | 've use|d a head|
|00004a30| 69 6e 67 20 77 69 74 68 | 6f 75 74 20 70 72 65 76 |ing with|out prev|
|00004a40| 69 6f 75 73 6c 79 20 75 | 73 69 6e 67 20 74 68 65 |iously u|sing the|
|00004a50| 20 68 69 67 68 65 72 20 | 68 65 61 64 69 6e 67 20 | higher |heading |
|00004a60| 6c 65 76 65 6c 73 2e 20 | 53 6f 6d 65 20 48 54 4d |levels. |Some HTM|
|00004a70| 4c 20 61 75 74 68 6f 72 | 73 20 63 6f 6e 73 69 64 |L author|s consid|
|00004a80| 65 72 20 74 68 69 73 20 | 62 61 64 20 73 74 79 6c |er this |bad styl|
|00004a90| 65 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |e. For e|xample, |
|00004aa0| 69 66 20 79 6f 75 20 75 | 73 65 20 22 68 34 22 2c |if you u|se "h4",|
|00004ab0| 20 74 68 65 6e 20 22 68 | 31 22 2c 20 22 68 32 22 | then "h|1", "h2"|
|00004ac0| 2c 20 61 6e 64 20 22 68 | 33 22 20 73 68 6f 75 6c |, and "h|3" shoul|
|00004ad0| 64 20 68 61 76 65 20 61 | 6c 72 65 61 64 79 20 62 |d have a|lready b|
|00004ae0| 65 65 6e 20 75 73 65 64 | 2c 20 69 6e 20 74 68 61 |een used|, in tha|
|00004af0| 74 20 6f 72 64 65 72 2e | 27 3b 0d 0a 0d 0a 24 75 |t order.|';....$u|
|00004b00| 73 69 6e 67 69 6e 74 65 | 64 69 74 6f 72 61 64 64 |singinte|ditoradd|
|00004b10| 74 61 67 6d 73 67 3d 67 | 65 74 56 61 6c 75 65 53 |tagmsg=g|etValueS|
|00004b20| 74 72 69 6e 67 28 37 29 | 3b 0d 0a 24 64 6f 63 74 |tring(7)|;..$doct|
|00004b30| 79 70 65 6d 65 73 73 61 | 67 65 61 70 70 65 6e 64 |ypemessa|geappend|
|00004b40| 3d 22 20 46 6f 72 20 6d | 6f 72 65 20 69 6e 66 6f |=" For m|ore info|
|00004b50| 72 6d 61 74 69 6f 6e 20 | 61 6e 64 20 74 68 65 20 |rmation |and the |
|00004b60| 6c 69 73 74 20 6f 66 20 | 72 65 63 6f 67 6e 69 7a |list of |recogniz|
|00004b70| 65 64 20 44 4f 43 54 59 | 50 45 73 2c 20 70 6c 65 |ed DOCTY|PEs, ple|
|00004b80| 61 73 65 20 76 69 73 69 | 74 20 68 74 74 70 3a 2f |ase visi|t http:/|
|00004b90| 2f 77 77 77 2e 68 74 6d | 6c 76 61 6c 69 64 61 74 |/www.htm|lvalidat|
|00004ba0| 6f 72 2e 63 6f 6d 2f 68 | 74 6d 6c 76 61 6c 2f 76 |or.com/h|tmlval/v|
|00004bb0| 35 30 2f 64 6f 63 73 2f | 63 6f 6e 66 69 67 75 72 |50/docs/|configur|
|00004bc0| 61 74 69 6f 6e 2e 68 74 | 6d 6c 23 66 6c 61 67 36 |ation.ht|ml#flag6|
|00004bd0| 35 22 3b 0d 0a 0d 0a 24 | 41 43 43 45 53 53 49 42 |5";....$|ACCESSIB|
|00004be0| 49 4c 49 54 59 3d 27 41 | 63 63 65 73 73 69 62 69 |ILITY='A|ccessibi|
|00004bf0| 6c 69 74 79 27 3b 0d 0a | 24 41 43 43 45 53 53 54 |lity';..|$ACCESST|
|00004c00| 49 50 53 3d 27 41 63 63 | 65 73 73 69 62 69 6c 69 |IPS='Acc|essibili|
|00004c10| 74 79 20 54 69 70 73 27 | 3b 0d 0a 24 47 45 4e 41 |ty Tips'|;..$GENA|
|00004c20| 43 43 45 53 53 3d 27 47 | 65 6e 65 72 61 6c 20 41 |CCESS='G|eneral A|
|00004c30| 63 63 65 73 73 69 62 69 | 6c 69 74 79 27 3b 0d 0a |ccessibi|lity';..|
|00004c40| 24 53 45 43 54 49 4f 4e | 35 30 38 3d 27 53 65 63 |$SECTION|508='Sec|
|00004c50| 74 69 6f 6e 20 35 30 38 | 20 41 63 63 65 73 73 69 |tion 508| Accessi|
|00004c60| 62 69 6c 69 74 79 20 53 | 74 61 6e 64 61 72 64 73 |bility S|tandards|
|00004c70| 27 3b 0d 0a 24 57 43 41 | 47 31 30 3d 27 57 65 62 |';..$WCA|G10='Web|
|00004c80| 20 43 6f 6e 74 65 6e 74 | 20 41 63 63 65 73 73 69 | Content| Accessi|
|00004c90| 62 69 6c 69 74 79 20 47 | 75 69 64 65 6c 69 6e 65 |bility G|uideline|
|00004ca0| 73 20 31 2e 30 27 3b 0d | 0a 24 4d 53 47 5f 53 45 |s 1.0';.|.$MSG_SE|
|00004cb0| 43 54 49 4f 4e 35 30 38 | 3d 24 4d 53 47 5f 45 52 |CTION508|=$MSG_ER|
|00004cc0| 52 4f 52 3b 0d 0a 0d 0a | 24 44 45 50 52 45 43 41 |ROR;....|$DEPRECA|
|00004cd0| 54 45 44 3d 27 44 65 70 | 72 65 63 61 74 65 64 27 |TED='Dep|recated'|
|00004ce0| 3b 0d 0a 24 47 45 4e 43 | 4f 4d 50 41 54 3d 27 47 |;..$GENC|OMPAT='G|
|00004cf0| 65 6e 65 72 61 6c 20 43 | 6f 6d 70 61 74 69 62 69 |eneral C|ompatibi|
|00004d00| 6c 69 74 79 27 3b 0d 0a | 24 48 54 4d 4c 34 30 43 |lity';..|$HTML40C|
|00004d10| 4f 4d 50 41 54 3d 27 48 | 54 4d 4c 20 34 2e 30 20 |OMPAT='H|TML 4.0 |
|00004d20| 43 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 27 3b 0d |Compatib|ility';.|
|00004d30| 0a 24 58 48 54 4d 4c 31 | 30 43 4f 4d 50 41 54 3d |.$XHTML1|0COMPAT=|
|00004d40| 27 58 48 54 4d 4c 20 31 | 2e 30 20 43 6f 6d 70 61 |'XHTML 1|.0 Compa|
|00004d50| 74 69 62 69 6c 69 74 79 | 27 3b 0d 0a 24 58 48 54 |tibility|';..$XHT|
|00004d60| 4d 4c 31 31 43 4f 4d 50 | 41 54 3d 27 58 48 54 4d |ML11COMP|AT='XHTM|
|00004d70| 4c 20 31 2e 31 20 43 6f | 6d 70 61 74 69 62 69 6c |L 1.1 Co|mpatibil|
|00004d80| 69 74 79 27 3b 0d 0a 24 | 43 53 53 43 4f 4d 50 41 |ity';..$|CSSCOMPA|
|00004d90| 54 3d 27 43 53 53 31 2f | 43 53 53 32 20 43 6f 6d |T='CSS1/|CSS2 Com|
|00004da0| 70 61 74 69 62 69 6c 69 | 74 79 27 3b 0d 0a 24 43 |patibili|ty';..$C|
|00004db0| 53 53 54 49 50 53 3d 27 | 43 53 53 20 54 69 70 73 |SSTIPS='|CSS Tips|
|00004dc0| 27 3b 0d 0a 24 4d 53 49 | 45 3d 27 4d 69 63 72 6f |';..$MSI|E='Micro|
|00004dd0| 73 6f 66 74 20 49 6e 74 | 65 72 6e 65 74 20 45 78 |soft Int|ernet Ex|
|00004de0| 70 6c 6f 72 65 72 27 3b | 0d 0a 24 4e 45 54 53 43 |plorer';|..$NETSC|
|00004df0| 41 50 45 3d 27 4e 65 74 | 73 63 61 70 65 27 3b 0d |APE='Net|scape';.|
|00004e00| 0a 24 4f 50 45 52 41 3d | 27 4f 70 65 72 61 27 3b |.$OPERA=|'Opera';|
|00004e10| 0d 0a 24 4f 42 53 4f 4c | 45 54 45 3d 27 4f 62 73 |..$OBSOL|ETE='Obs|
|00004e20| 6f 6c 65 74 65 27 3b 0d | 0a 24 53 54 59 4c 45 3d |olete';.|.$STYLE=|
|00004e30| 27 47 6f 6f 64 20 53 74 | 79 6c 65 27 3b 0d 0a 24 |'Good St|yle';..$|
|00004e40| 54 49 50 53 3d 27 54 69 | 70 73 27 3b 0d 0a 24 57 |TIPS='Ti|ps';..$W|
|00004e50| 45 42 54 56 3d 27 57 65 | 62 54 56 27 3b 0d 0a 24 |EBTV='We|bTV';..$|
|00004e60| 53 45 41 52 43 48 45 4e | 47 49 4e 45 3d 27 53 65 |SEARCHEN|GINE='Se|
|00004e70| 61 72 63 68 20 45 6e 67 | 69 6e 65 27 3b 0d 0a 0d |arch Eng|ine';...|
|00004e80| 0a 73 65 74 46 6c 61 67 | 28 38 2c 37 37 2c 30 29 |.setFlag|(8,77,0)|
|00004e90| 3b 0d 0a 73 65 74 46 6c | 61 67 28 38 2c 38 34 2c |;..setFl|ag(8,84,|
|00004ea0| 30 29 3b 0d 0a 0d 0a 69 | 66 20 28 20 24 6a 6f 62 |0);....i|f ( $job|
|00004eb0| 73 75 62 74 79 70 65 3d | 3d 33 20 29 20 7b 0d 0a |subtype=|=3 ) {..|
|00004ec0| 20 73 65 74 56 61 6c 75 | 65 49 6e 74 28 35 2c 20 | setValu|eInt(5, |
|00004ed0| 32 29 3b 0d 0a 20 73 65 | 74 46 6c 61 67 28 38 2c |2);.. se|tFlag(8,|
|00004ee0| 34 36 2c 31 29 3b 0d 0a | 20 73 65 74 46 6c 61 67 |46,1);..| setFlag|
|00004ef0| 28 38 2c 37 33 2c 30 29 | 3b 0d 0a 20 73 65 74 46 |(8,73,0)|;.. setF|
|00004f00| 6c 61 67 28 38 2c 31 33 | 2c 31 29 3b 0d 0a 20 73 |lag(8,13|,1);.. s|
|00004f10| 65 74 46 6c 61 67 28 39 | 2c 31 30 34 38 35 37 36 |etFlag(9|,1048576|
|00004f20| 2c 31 29 3b 0d 0a 20 69 | 66 20 28 20 28 21 73 65 |,1);.. i|f ( (!se|
|00004f30| 74 46 6c 61 67 28 39 2c | 32 30 39 37 31 35 32 2c |tFlag(9,|2097152,|
|00004f40| 2d 31 29 29 20 26 26 20 | 28 21 73 65 74 46 6c 61 |-1)) && |(!setFla|
|00004f50| 67 28 39 2c 34 31 39 34 | 33 30 34 2c 2d 31 29 29 |g(9,4194|304,-1))|
|00004f60| 20 29 20 7b 0d 0a 20 20 | 73 65 74 46 6c 61 67 28 | ) {.. |setFlag(|
|00004f70| 39 2c 32 30 39 37 31 35 | 32 2c 31 29 3b 0d 0a 20 |9,209715|2,1);.. |
|00004f80| 20 73 65 74 46 6c 61 67 | 28 39 2c 34 31 39 34 33 | setFlag|(9,41943|
|00004f90| 30 34 2c 31 29 3b 0d 0a | 20 7d 0d 0a 20 24 63 61 |04,1);..| }.. $ca|
|00004fa0| 74 3d 24 47 45 4e 41 43 | 43 45 53 53 3b 0d 0a 20 |t=$GENAC|CESS;.. |
|00004fb0| 24 65 78 74 72 61 3d 22 | 22 3b 0d 0a 20 23 66 6c |$extra="|";.. #fl|
|00004fc0| 61 67 6f 72 3d 30 3b 0d | 0a 20 69 66 20 28 20 67 |agor=0;.|. if ( g|
|00004fd0| 65 74 56 61 6c 75 65 49 | 6e 74 28 32 37 29 20 26 |etValueI|nt(27) &|
|00004fe0| 26 20 67 65 74 56 61 6c | 75 65 49 6e 74 28 33 34 |& getVal|ueInt(34|
|00004ff0| 29 20 29 20 7b 0d 0a 20 | 20 24 63 61 74 3d 24 57 |) ) {.. | $cat=$W|
|00005000| 43 41 47 31 30 3b 0d 0a | 20 20 24 65 78 74 72 61 |CAG10;..| $extra|
|00005010| 3d 22 20 5b 50 32 2c 20 | 33 2e 32 5d 22 3b 0d 0a |=" [P2, |3.2]";..|
|00005020| 20 20 23 66 6c 61 67 6f | 72 3d 24 66 6c 61 67 6f | #flago|r=$flago|
|00005030| 72 7c 36 34 3b 0d 0a 20 | 7d 0d 0a 20 4d 65 73 73 |r|64;.. |}.. Mess|
|00005040| 61 67 65 45 78 28 32 31 | 7c 24 66 6c 61 67 6f 72 |ageEx(21||$flagor|
|00005050| 2c 20 32 30 30 33 30 31 | 32 38 30 36 2c 20 24 4d |, 200301|2806, $M|
|00005060| 53 47 5f 4d 45 53 53 41 | 47 45 2c 20 24 63 61 74 |SG_MESSA|GE, $cat|
|00005070| 2c 20 27 4f 6e 6c 79 20 | 61 63 63 65 73 73 69 62 |, 'Only |accessib|
|00005080| 69 6c 69 74 79 20 6d 65 | 73 73 61 67 65 73 20 61 |ility me|ssages a|
|00005090| 72 65 20 62 65 69 6e 67 | 20 64 69 73 70 6c 61 79 |re being| display|
|000050a0| 65 64 2e 20 4d 61 6b 65 | 20 73 75 72 65 20 74 68 |ed. Make| sure th|
|000050b0| 61 74 20 64 6f 63 75 6d | 65 6e 74 73 20 76 61 6c |at docum|ents val|
|000050c0| 69 64 61 74 65 20 74 6f | 20 70 75 62 6c 69 73 68 |idate to| publish|
|000050d0| 65 64 20 66 6f 72 6d 61 | 6c 20 67 72 61 6d 6d 61 |ed forma|l gramma|
|000050e0| 72 73 27 20 2b 20 24 65 | 78 74 72 61 20 2b 20 27 |rs' + $e|xtra + '|
|000050f0| 2e 20 55 73 65 20 74 68 | 69 73 20 70 72 6f 67 72 |. Use th|is progr|
|00005100| 61 6d 27 20 2b 20 22 27 | 22 20 2b 20 27 73 20 70 |am' + "'|" + 's p|
|00005110| 6f 77 65 72 66 75 6c 20 | 73 79 6e 74 61 78 20 63 |owerful |syntax c|
|00005120| 68 65 63 6b 65 72 20 74 | 6f 20 68 65 6c 70 20 79 |hecker t|o help y|
|00005130| 6f 75 20 63 6f 6d 70 6c | 79 20 77 69 74 68 20 74 |ou compl|y with t|
|00005140| 68 69 73 20 63 68 65 63 | 6b 70 6f 69 6e 74 2e 20 |his chec|kpoint. |
|00005150| 50 72 6f 70 65 72 20 64 | 6f 63 75 6d 65 6e 74 20 |Proper d|ocument |
|00005160| 73 79 6e 74 61 78 20 69 | 73 20 69 6d 70 6f 72 74 |syntax i|s import|
|00005170| 61 6e 74 20 66 6f 72 20 | 61 63 63 65 73 73 69 62 |ant for |accessib|
|00005180| 69 6c 69 74 79 20 72 65 | 61 73 6f 6e 73 20 61 6e |ility re|asons an|
|00005190| 64 20 66 6f 72 20 70 72 | 6f 70 65 72 20 72 65 6e |d for pr|oper ren|
|000051a0| 64 65 72 69 6e 67 2e 20 | 54 68 65 72 65 66 6f 72 |dering. |Therefor|
|000051b0| 65 2c 20 74 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |e, this |document|
|000051c0| 20 73 68 6f 75 6c 64 20 | 62 65 20 63 68 65 63 6b | should |be check|
|000051d0| 65 64 20 66 6f 72 20 70 | 72 6f 70 65 72 20 73 79 |ed for p|roper sy|
|000051e0| 6e 74 61 78 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |ntax as |well as |
|000051f0| 61 63 63 65 73 73 69 62 | 69 6c 69 74 79 2e 20 4e |accessib|ility. N|
|00005200| 6f 74 65 20 74 68 61 74 | 20 74 68 69 73 20 70 72 |ote that| this pr|
|00005210| 6f 67 72 61 6d 20 70 72 | 6f 76 69 64 65 73 20 61 |ogram pr|ovides a|
|00005220| 20 70 6f 77 65 72 66 75 | 6c 20 73 79 6e 74 61 78 | powerfu|l syntax|
|00005230| 20 63 68 65 63 6b 65 72 | 2e 20 49 74 20 69 73 20 | checker|. It is |
|00005240| 6e 6f 74 20 61 20 66 6f | 72 6d 61 6c 20 76 61 6c |not a fo|rmal val|
|00005250| 69 64 61 74 6f 72 2e 27 | 29 3b 0d 0a 7d 0d 0a 65 |idator.'|);..}..e|
|00005260| 6c 73 65 20 7b 0d 0a 20 | 69 66 20 28 20 24 6a 6f |lse {.. |if ( $jo|
|00005270| 62 73 75 62 74 79 70 65 | 3d 3d 34 20 29 20 7b 0d |bsubtype|==4 ) {.|
|00005280| 0a 20 20 73 65 74 56 61 | 6c 75 65 53 74 72 69 6e |. setVa|lueStrin|
|00005290| 67 28 38 2c 20 24 44 45 | 50 52 45 43 41 54 45 44 |g(8, $DE|PRECATED|
|000052a0| 29 3b 0d 0a 20 20 73 65 | 74 46 6c 61 67 28 38 2c |);.. se|tFlag(8,|
|000052b0| 33 2c 31 29 3b 0d 0a 20 | 20 73 65 74 46 6c 61 67 |3,1);.. | setFlag|
|000052c0| 28 38 2c 39 2c 31 29 3b | 0d 0a 20 7d 0d 0a 20 65 |(8,9,1);|.. }.. e|
|000052d0| 6c 73 65 20 7b 0d 0a 20 | 20 69 66 20 28 20 24 6a |lse {.. | if ( $j|
|000052e0| 6f 62 73 75 62 74 79 70 | 65 3d 3d 35 20 29 20 7b |obsubtyp|e==5 ) {|
|000052f0| 0d 0a 20 20 20 73 65 74 | 56 61 6c 75 65 53 74 72 |.. set|ValueStr|
|00005300| 69 6e 67 28 38 2c 20 24 | 53 45 41 52 43 48 45 4e |ing(8, $|SEARCHEN|
|00005310| 47 49 4e 45 29 3b 0d 0a | 20 20 20 73 65 74 46 6c |GINE);..| setFl|
|00005320| 61 67 28 38 2c 38 2c 31 | 29 3b 0d 0a 20 20 20 73 |ag(8,8,1|);.. s|
|00005330| 65 74 46 6c 61 67 28 38 | 2c 31 30 37 2c 31 29 3b |etFlag(8|,107,1);|
|00005340| 0d 0a 20 20 7d 0d 0a 20 | 20 65 6c 73 65 20 7b 20 |.. }.. | else { |
|00005350| 69 66 20 28 20 24 6a 6f | 62 73 75 62 74 79 70 65 |if ( $jo|bsubtype|
|00005360| 3d 3d 36 20 29 20 7b 0d | 0a 20 20 20 61 63 74 69 |==6 ) {.|. acti|
|00005370| 76 61 74 65 43 61 74 65 | 67 6f 72 69 65 73 28 30 |vateCate|gories(0|
|00005380| 2c 20 31 32 2c 20 31 38 | 2c 20 33 39 2c 20 34 30 |, 12, 18|, 39, 40|
|00005390| 2c 20 34 31 2c 20 36 2c | 20 31 36 2c 20 33 38 2c |, 41, 6,| 16, 38,|
|000053a0| 20 33 2c 20 34 33 2c 20 | 31 34 2c 20 32 38 29 3b | 3, 43, |14, 28);|
|000053b0| 0d 0a 20 20 20 23 73 74 | 64 63 6f 6d 70 6c 69 61 |.. #st|dcomplia|
|000053c0| 6e 74 3d 31 3b 0d 0a 20 | 20 7d 20 7d 0d 0a 20 7d |nt=1;.. | } }.. }|
|000053d0| 0d 0a 7d 0d 0a 0d 0a 69 | 66 20 28 20 69 73 46 6c |..}....i|f ( isFl|
|000053e0| 61 67 53 65 74 28 37 33 | 29 20 29 20 7b 0d 0a 20 |agSet(73|) ) {.. |
|000053f0| 69 66 20 28 20 21 67 65 | 74 56 61 6c 75 65 49 6e |if ( !ge|tValueIn|
|00005400| 74 28 33 30 29 20 29 20 | 7b 20 0d 0a 20 20 4d 65 |t(30) ) |{ .. Me|
|00005410| 73 73 61 67 65 45 78 28 | 32 31 2c 20 32 30 30 32 |ssageEx(|21, 2002|
|00005420| 30 37 31 35 39 31 2c 20 | 24 4d 53 47 5f 4d 45 53 |071591, |$MSG_MES|
|00005430| 53 41 47 45 2c 20 24 53 | 45 43 54 49 4f 4e 35 30 |SAGE, $S|ECTION50|
|00005440| 38 2c 20 27 5b 37 33 5d | 20 53 65 63 74 69 6f 6e |8, '[73]| Section|
|00005450| 20 35 30 38 20 61 63 63 | 65 73 73 69 62 69 6c 69 | 508 acc|essibili|
|00005460| 74 79 20 63 68 65 63 6b | 69 6e 67 20 69 73 20 64 |ty check|ing is d|
|00005470| 69 73 61 62 6c 65 64 2e | 27 29 3b 0d 0a 20 7d 0d |isabled.|');.. }.|
|00005480| 0a 20 69 66 20 28 20 21 | 67 65 74 56 61 6c 75 65 |. if ( !|getValue|
|00005490| 49 6e 74 28 32 39 29 20 | 29 20 7b 0d 0a 20 20 4d |Int(29) |) {.. M|
|000054a0| 65 73 73 61 67 65 45 78 | 28 32 31 2c 20 32 30 30 |essageEx|(21, 200|
|000054b0| 32 30 37 31 35 39 31 2c | 20 24 4d 53 47 5f 4d 45 |2071591,| $MSG_ME|
|000054c0| 53 53 41 47 45 2c 20 24 | 57 43 41 47 31 30 2c 20 |SSAGE, $|WCAG10, |
|000054d0| 27 5b 37 33 5d 20 57 43 | 41 47 20 31 2e 30 20 61 |'[73] WC|AG 1.0 a|
|000054e0| 63 63 65 73 73 69 62 69 | 6c 69 74 79 20 63 68 65 |ccessibi|lity che|
|000054f0| 63 6b 69 6e 67 20 69 73 | 20 64 69 73 61 62 6c 65 |cking is| disable|
|00005500| 64 2e 27 29 3b 0d 0a 20 | 7d 0d 0a 7d 0d 0a 0d 0a |d.');.. |}..}....|
|00005510| 0d 0a 4d 65 73 73 61 67 | 65 45 78 28 32 31 2c 20 |..Messag|eEx(21, |
|00005520| 32 30 30 33 30 31 31 36 | 30 30 2c 20 24 4d 53 47 |20030116|00, $MSG|
|00005530| 5f 43 4f 4d 4d 45 4e 54 | 2c 20 24 41 43 43 45 53 |_COMMENT|, $ACCES|
|00005540| 53 54 49 50 53 2c 20 27 | 54 68 69 73 20 70 72 6f |STIPS, '|This pro|
|00005550| 67 72 61 6d 20 63 61 6e | 20 68 65 6c 70 20 79 6f |gram can| help yo|
|00005560| 75 20 6d 61 6b 65 20 79 | 6f 75 72 20 77 65 62 20 |u make y|our web |
|00005570| 70 61 67 65 73 20 6d 6f | 72 65 20 61 63 63 65 73 |pages mo|re acces|
|00005580| 73 69 62 6c 65 2e 20 41 | 6e 20 61 63 63 65 73 73 |sible. A|n access|
|00005590| 69 62 6c 65 20 70 61 67 | 65 20 69 73 20 6f 6e 65 |ible pag|e is one|
|000055a0| 20 74 68 61 74 20 6d 6f | 72 65 20 69 6e 64 69 76 | that mo|re indiv|
|000055b0| 69 64 75 61 6c 73 20 63 | 61 6e 20 75 73 65 2c 20 |iduals c|an use, |
|000055c0| 73 75 63 68 20 61 73 20 | 69 6e 64 69 76 69 64 75 |such as |individu|
|000055d0| 61 6c 73 20 77 68 6f 20 | 61 72 65 20 62 6c 69 6e |als who |are blin|
|000055e0| 64 20 6f 72 20 64 65 61 | 66 2e 20 49 74 20 63 61 |d or dea|f. It ca|
|000055f0| 6e 20 61 6c 73 6f 20 69 | 6e 63 72 65 61 73 65 20 |n also i|ncrease |
|00005600| 74 68 65 20 75 73 65 66 | 75 6c 6e 65 73 73 20 6f |the usef|ulness o|
|00005610| 66 20 79 6f 75 72 20 77 | 65 62 20 70 61 67 65 20 |f your w|eb page |
|00005620| 66 6f 72 20 69 6e 64 69 | 76 69 64 75 61 6c 73 20 |for indi|viduals |
|00005630| 77 68 6f 20 62 72 6f 77 | 73 65 20 74 68 65 20 77 |who brow|se the w|
|00005640| 65 62 20 75 73 69 6e 67 | 20 73 6c 6f 77 65 72 20 |eb using| slower |
|00005650| 64 65 76 69 63 65 73 20 | 6c 69 6b 65 20 6f 6c 64 |devices |like old|
|00005660| 65 72 20 63 6f 6d 70 75 | 74 65 72 73 20 6f 72 20 |er compu|ters or |
|00005670| 77 69 72 65 6c 65 73 73 | 20 64 65 76 69 63 65 73 |wireless| devices|
|00005680| 20 6c 69 6b 65 20 63 65 | 6c 6c 20 70 68 6f 6e 65 | like ce|ll phone|
|00005690| 73 20 61 6e 64 20 50 44 | 41 73 2e 20 41 6e 20 61 |s and PD|As. An a|
|000056a0| 63 63 65 73 73 69 62 6c | 65 20 77 65 62 20 73 69 |ccessibl|e web si|
|000056b0| 74 65 20 6d 61 6b 65 73 | 20 67 6f 6f 64 20 62 75 |te makes| good bu|
|000056c0| 73 69 6e 65 73 73 20 73 | 65 6e 73 65 20 28 61 6e |siness s|ense (an|
|000056d0| 64 20 70 6f 73 73 69 62 | 6c 79 20 67 6f 6f 64 20 |d possib|ly good |
|000056e0| 6c 65 67 61 6c 20 73 65 | 6e 73 65 20 61 73 20 77 |legal se|nse as w|
|000056f0| 65 6c 6c 29 2e 20 59 6f | 75 20 63 61 6e 20 65 6e |ell). Yo|u can en|
|00005700| 61 62 6c 65 20 6f 72 20 | 64 69 73 61 62 6c 65 20 |able or |disable |
|00005710| 61 63 63 65 73 73 69 62 | 69 6c 69 74 79 20 63 68 |accessib|ility ch|
|00005720| 65 63 6b 69 6e 67 20 69 | 6e 20 74 68 65 20 56 61 |ecking i|n the Va|
|00005730| 6c 69 64 61 74 6f 72 20 | 45 6e 67 69 6e 65 20 4f |lidator |Engine O|
|00005740| 70 74 69 6f 6e 73 2e 27 | 29 3b 0d 0a 01 00 00 00 |ptions.'|);......|
|00005750| 12 00 00 00 0d 0a 72 75 | 6e 50 72 6f 67 72 61 6d |......ru|nProgram|
|00005760| 28 31 29 3b 0d 0a 01 00 | 00 00 c9 1f 00 00 0d 0a |(1);....|........|
|00005770| 66 75 6e 63 74 69 6f 6e | 20 41 57 52 61 6e 67 65 |function| AWRange|
|00005780| 43 68 65 63 6b 32 28 29 | 20 7b 0d 0a 20 69 66 20 |Check2()| {.. if |
|00005790| 28 20 69 73 46 6c 61 67 | 53 65 74 28 33 31 29 20 |( isFlag|Set(31) |
|000057a0| 29 20 7b 0d 0a 20 20 24 | 69 73 69 6e 72 61 6e 67 |) {.. $|isinrang|
|000057b0| 65 74 61 67 3d 69 73 49 | 6e 52 61 6e 67 65 45 78 |etag=isI|nRangeEx|
|000057c0| 28 31 2c 20 67 65 74 54 | 61 67 4e 61 6d 65 28 29 |(1, getT|agName()|
|000057d0| 20 29 3b 0d 0a 20 20 69 | 66 20 28 20 73 74 72 63 | );.. i|f ( strc|
|000057e0| 6d 70 28 24 69 73 69 6e | 72 61 6e 67 65 74 61 67 |mp($isin|rangetag|
|000057f0| 2c 20 22 22 29 20 21 3d | 20 30 20 29 20 7b 0d 0a |, "") !=| 0 ) {..|
|00005800| 20 20 20 4d 65 73 73 61 | 67 65 45 78 28 31 2c 20 | Messa|geEx(1, |
|00005810| 24 4d 53 47 5f 4d 45 53 | 53 41 47 45 2c 20 24 53 |$MSG_MES|SAGE, $S|
|00005820| 54 59 4c 45 2c 20 27 5b | 33 31 5d 20 54 68 65 20 |TYLE, '[|31] The |
|00005830| 22 27 20 2b 20 67 65 74 | 54 61 67 4e 61 6d 65 28 |"' + get|TagName(|
|00005840| 29 20 2b 20 27 22 20 74 | 61 67 20 77 61 73 20 6f |) + '" t|ag was o|
|00005850| 70 65 6e 65 64 20 69 6e | 20 61 6e 6f 74 68 65 72 |pened in| another|
|00005860| 20 22 27 20 2b 20 67 65 | 74 54 61 67 4e 61 6d 65 | "' + ge|tTagName|
|00005870| 28 29 20 2b 20 27 22 20 | 74 61 67 20 28 77 68 69 |() + '" |tag (whi|
|00005880| 63 68 20 77 61 73 20 6f | 70 65 6e 65 64 20 69 6e |ch was o|pened in|
|00005890| 20 6c 69 6e 65 20 27 20 | 2b 20 74 6f 53 74 72 69 | line ' |+ toStri|
|000058a0| 6e 67 28 24 69 73 69 6e | 72 61 6e 67 65 65 78 6c |ng($isin|rangeexl|
|000058b0| 69 6e 65 29 20 2b 20 27 | 29 2e 20 4e 6f 72 6d 61 |ine) + '|). Norma|
|000058c0| 6c 6c 79 20 74 68 69 73 | 20 64 6f 65 73 20 6e 6f |lly this| does no|
|000058d0| 74 20 63 61 75 73 65 20 | 61 6e 79 20 70 72 6f 62 |t cause |any prob|
|000058e0| 6c 65 6d 73 2c 20 62 75 | 74 20 73 6f 6d 65 20 6d |lems, bu|t some m|
|000058f0| 61 79 20 6e 6f 74 20 63 | 6f 6e 73 69 64 65 72 20 |ay not c|onsider |
|00005900| 69 74 20 74 6f 20 62 65 | 20 67 6f 6f 64 20 73 74 |it to be| good st|
|00005910| 79 6c 65 2e 27 29 3b 0d | 0a 20 20 7d 0d 0a 20 7d |yle.');.|. }.. }|
|00005920| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00005930| 41 57 43 68 65 63 6b 49 | 6e 64 65 78 56 61 6c 75 |AWCheckI|ndexValu|
|00005940| 65 28 29 20 7b 0d 0a 20 | 24 76 61 6c 75 65 3d 67 |e() {.. |$value=g|
|00005950| 65 74 41 74 74 56 61 6c | 75 65 28 24 69 6e 64 65 |etAttVal|ue($inde|
|00005960| 78 29 3b 0d 0a 20 69 66 | 20 28 20 63 68 65 63 6b |x);.. if| ( check|
|00005970| 53 74 72 69 6e 67 28 34 | 2c 20 24 76 61 6c 75 65 |String(4|, $value|
|00005980| 29 20 29 20 7b 0d 0a 20 | 20 4d 65 73 73 61 67 65 |) ) {.. | Message|
|00005990| 45 78 28 31 33 2c 20 32 | 30 30 33 30 33 31 37 30 |Ex(13, 2|00303170|
|000059a0| 30 2c 20 24 4d 53 47 5f | 57 41 52 4e 49 4e 47 2c |0, $MSG_|WARNING,|
|000059b0| 20 22 44 69 64 20 79 6f | 75 20 66 6f 72 67 65 74 | "Did yo|u forget|
|000059c0| 20 74 6f 20 73 70 65 63 | 69 66 79 20 61 20 70 72 | to spec|ify a pr|
|000059d0| 6f 74 6f 63 6f 6c 20 6c | 69 6b 65 20 68 74 74 70 |otocol l|ike http|
|000059e0| 3a 2f 2f 3f 22 2c 20 67 | 65 74 41 74 74 56 61 6c |://?", g|etAttVal|
|000059f0| 75 65 4c 6f 63 61 74 69 | 6f 6e 28 24 69 6e 64 65 |ueLocati|on($inde|
|00005a00| 78 29 29 3b 0d 0a 20 7d | 0d 0a 20 69 66 20 28 20 |x));.. }|.. if ( |
|00005a10| 63 68 65 63 6b 53 74 72 | 69 6e 67 28 32 30 34 38 |checkStr|ing(2048|
|00005a20| 2c 20 24 76 61 6c 75 65 | 29 20 29 20 7b 0d 0a 20 |, $value|) ) {.. |
|00005a30| 20 69 66 20 28 20 28 73 | 74 72 6e 69 63 6d 70 28 | if ( (s|trnicmp(|
|00005a40| 24 76 61 6c 75 65 2c 20 | 22 6a 61 76 61 73 63 72 |$value, |"javascr|
|00005a50| 69 70 74 3a 22 2c 20 31 | 31 29 21 3d 30 29 20 26 |ipt:", 1|1)!=0) &|
|00005a60| 26 20 28 73 74 72 6e 69 | 63 6d 70 28 24 76 61 6c |& (strni|cmp($val|
|00005a70| 75 65 2c 20 22 6d 61 69 | 6c 74 6f 3a 22 2c 20 37 |ue, "mai|lto:", 7|
|00005a80| 29 21 3d 30 29 20 29 20 | 7b 0d 0a 20 20 20 4d 65 |)!=0) ) |{.. Me|
|00005a90| 73 73 61 67 65 45 78 28 | 31 33 2c 20 32 30 30 33 |ssageEx(|13, 2003|
|00005aa0| 30 33 31 37 30 32 2c 20 | 24 4d 53 47 5f 57 41 52 |031702, |$MSG_WAR|
|00005ab0| 4e 49 4e 47 2c 20 27 55 | 73 69 6e 67 20 73 70 61 |NING, 'U|sing spa|
|00005ac0| 63 65 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |ce chara|cters in|
|00005ad0| 20 55 52 4c 73 20 6d 61 | 79 20 63 61 75 73 65 20 | URLs ma|y cause |
|00005ae0| 70 72 6f 62 6c 65 6d 73 | 2e 20 49 66 20 73 70 61 |problems|. If spa|
|00005af0| 63 65 73 20 6d 75 73 74 | 20 62 65 20 75 73 65 64 |ces must| be used|
|00005b00| 20 69 6e 20 55 52 4c 73 | 2c 20 74 68 65 6e 20 74 | in URLs|, then t|
|00005b10| 68 65 79 20 73 68 6f 75 | 6c 64 20 62 65 20 65 6e |hey shou|ld be en|
|00005b20| 63 6f 64 65 64 20 61 73 | 20 22 25 32 30 22 20 28 |coded as| "%20" (|
|00005b30| 77 69 74 68 6f 75 74 20 | 74 68 65 20 71 75 6f 74 |without |the quot|
|00005b40| 65 73 29 2e 20 48 6f 77 | 65 76 65 72 2c 20 61 76 |es). How|ever, av|
|00005b50| 6f 69 64 20 73 70 61 63 | 65 73 20 69 6e 20 55 52 |oid spac|es in UR|
|00005b60| 4c 73 20 77 68 65 6e 65 | 76 65 72 20 70 6f 73 73 |Ls whene|ver poss|
|00005b70| 69 62 6c 65 20 61 6e 64 | 20 63 6f 6e 73 69 64 65 |ible and| conside|
|00005b80| 72 20 75 73 69 6e 67 20 | 74 68 65 20 75 6e 64 65 |r using |the unde|
|00005b90| 72 73 63 6f 72 65 20 63 | 68 61 72 61 63 74 65 72 |rscore c|haracter|
|00005ba0| 20 28 5f 29 20 69 6e 73 | 74 65 61 64 20 6f 66 20 | (_) ins|tead of |
|00005bb0| 73 70 61 63 65 20 63 68 | 61 72 61 63 74 65 72 73 |space ch|aracters|
|00005bc0| 20 69 6e 20 64 69 72 65 | 63 74 6f 72 79 20 6e 61 | in dire|ctory na|
|00005bd0| 6d 65 73 20 61 6e 64 20 | 66 69 6c 65 6e 61 6d 65 |mes and |filename|
|00005be0| 73 2e 27 2c 20 67 65 74 | 41 74 74 56 61 6c 75 65 |s.', get|AttValue|
|00005bf0| 4c 6f 63 61 74 69 6f 6e | 28 24 69 6e 64 65 78 29 |Location|($index)|
|00005c00| 29 3b 0d 0a 20 20 7d 0d | 0a 20 7d 0d 0a 20 69 66 |);.. }.|. }.. if|
|00005c10| 20 28 20 63 68 65 63 6b | 53 74 72 69 6e 67 28 34 | ( check|String(4|
|00005c20| 30 39 36 2c 20 24 76 61 | 6c 75 65 29 20 29 20 7b |096, $va|lue) ) {|
|00005c30| 0d 0a 20 20 4d 65 73 73 | 61 67 65 45 78 28 31 33 |.. Mess|ageEx(13|
|00005c40| 2c 20 32 30 30 33 30 33 | 31 37 30 33 2c 20 24 4d |, 200303|1703, $M|
|00005c50| 53 47 5f 57 41 52 4e 49 | 4e 47 2c 20 22 54 68 65 |SG_WARNI|NG, "The|
|00005c60| 72 65 20 61 70 70 65 61 | 72 73 20 74 6f 20 62 65 |re appea|rs to be|
|00005c70| 20 61 20 55 52 4c 20 65 | 6e 63 6f 64 69 6e 67 20 | a URL e|ncoding |
|00005c80| 70 72 6f 62 6c 65 6d 20 | 77 69 74 68 20 74 68 69 |problem |with thi|
|00005c90| 73 20 55 52 4c 2e 20 57 | 68 65 6e 20 55 52 4c 20 |s URL. W|hen URL |
|00005ca0| 65 6e 63 6f 64 69 6e 67 | 2c 20 74 68 65 20 27 25 |encoding|, the '%|
|00005cb0| 27 20 63 68 61 72 61 63 | 74 65 72 20 6d 75 73 74 |' charac|ter must|
|00005cc0| 20 62 65 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 | be foll|owed by |
|00005cd0| 61 20 74 77 6f 20 64 69 | 67 69 74 20 68 65 78 61 |a two di|git hexa|
|00005ce0| 64 65 63 69 6d 61 6c 20 | 6e 75 6d 62 65 72 2e 20 |decimal |number. |
|00005cf0| 49 6e 20 74 68 69 73 20 | 55 52 4c 2c 20 74 68 65 |In this |URL, the|
|00005d00| 20 27 25 27 20 63 68 61 | 72 61 63 74 65 72 20 61 | '%' cha|racter a|
|00005d10| 70 70 65 61 72 73 20 61 | 74 20 6c 65 61 73 74 20 |ppears a|t least |
|00005d20| 6f 6e 63 65 20 77 69 74 | 68 20 61 6e 20 69 6e 76 |once wit|h an inv|
|00005d30| 61 6c 69 64 20 68 65 78 | 61 64 65 63 69 6d 61 6c |alid hex|adecimal|
|00005d40| 20 76 61 6c 75 65 2e 20 | 54 6f 20 61 63 74 75 61 | value. |To actua|
|00005d50| 6c 6c 79 20 65 6e 63 6f | 64 65 20 61 20 27 25 27 |lly enco|de a '%'|
|00005d60| 20 63 68 61 72 61 63 74 | 65 72 2c 20 75 73 65 20 | charact|er, use |
|00005d70| 22 2b 27 22 25 32 35 22 | 20 77 69 74 68 6f 75 74 |"+'"%25"| without|
|00005d80| 20 74 68 65 20 71 75 6f | 74 65 73 2e 27 2c 20 67 | the quo|tes.', g|
|00005d90| 65 74 41 74 74 56 61 6c | 75 65 4c 6f 63 61 74 69 |etAttVal|ueLocati|
|00005da0| 6f 6e 28 24 69 6e 64 65 | 78 29 29 3b 0d 0a 20 7d |on($inde|x));.. }|
|00005db0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00005dc0| 41 57 43 68 65 63 6b 49 | 44 28 29 20 7b 0d 0a 20 |AWCheckI|D() {.. |
|00005dd0| 23 63 68 65 63 6b 69 64 | 3d 31 3b 0d 0a 0d 0a 20 |#checkid|=1;.... |
|00005de0| 69 66 20 28 20 63 68 65 | 63 6b 53 74 72 69 6e 67 |if ( che|ckString|
|00005df0| 28 33 32 2c 20 24 76 61 | 6c 75 65 29 20 29 20 7b |(32, $va|lue) ) {|
|00005e00| 0d 0a 20 20 23 63 68 65 | 63 6b 69 64 3d 30 3b 0d |.. #che|ckid=0;.|
|00005e10| 0a 20 7d 0d 0a 0d 0a 20 | 69 66 20 28 20 24 63 68 |. }.... |if ( $ch|
|00005e20| 65 63 6b 69 64 20 29 20 | 7b 0d 0a 20 20 23 65 72 |eckid ) |{.. #er|
|00005e30| 72 6f 72 3d 30 3b 20 0d | 0a 20 20 66 6f 72 20 28 |ror=0; .|. for (|
|00005e40| 20 24 69 3d 30 20 3b 20 | 28 24 65 72 72 6f 72 3d | $i=0 ; |($error=|
|00005e50| 3d 30 29 20 26 26 20 28 | 24 69 3c 24 6e 75 6d 69 |=0) && (|$i<$numi|
|00005e60| 64 61 74 74 75 73 65 64 | 29 20 3b 20 24 69 2b 2b |dattused|) ; $i++|
|00005e70| 20 29 20 7b 0d 0a 20 20 | 20 69 66 20 28 20 73 74 | ) {.. | if ( st|
|00005e80| 72 69 63 6d 70 28 24 76 | 61 6c 75 65 2c 20 24 69 |ricmp($v|alue, $i|
|00005e90| 64 61 74 74 75 73 65 64 | 61 72 72 61 79 5b 24 69 |dattused|array[$i|
|00005ea0| 5d 29 3d 3d 30 20 29 20 | 7b 0d 0a 20 20 20 20 24 |])==0 ) |{.. $|
|00005eb0| 65 72 72 6f 72 3d 31 3b | 0d 0a 20 20 20 20 69 66 |error=1;|.. if|
|00005ec0| 20 28 20 24 69 64 74 79 | 70 65 3d 3d 32 20 29 20 | ( $idty|pe==2 ) |
|00005ed0| 7b 0d 0a 20 20 20 20 20 | 4d 65 73 73 61 67 65 45 |{.. |MessageE|
|00005ee0| 78 28 31 33 2c 20 32 30 | 30 33 30 33 31 37 30 34 |x(13, 20|03031704|
|00005ef0| 2c 20 24 4d 53 47 5f 45 | 52 52 4f 52 2c 20 27 54 |, $MSG_E|RROR, 'T|
|00005f00| 68 65 20 22 69 64 22 20 | 61 74 74 72 69 62 75 74 |he "id" |attribut|
|00005f10| 65 20 76 61 6c 75 65 20 | 22 27 20 2b 20 24 76 61 |e value |"' + $va|
|00005f20| 6c 75 65 20 2b 20 27 22 | 20 68 61 73 20 61 6c 72 |lue + '"| has alr|
|00005f30| 65 61 64 79 20 62 65 65 | 6e 20 75 73 65 64 20 69 |eady bee|n used i|
|00005f40| 6e 20 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 2e |n this d|ocument.|
|00005f50| 20 41 20 74 61 67 27 20 | 2b 20 22 27 22 20 2b 20 | A tag' |+ "'" + |
|00005f60| 27 73 20 22 69 64 22 20 | 76 61 6c 75 65 20 6d 75 |'s "id" |value mu|
|00005f70| 73 74 20 62 65 20 75 6e | 69 71 75 65 20 77 69 74 |st be un|ique wit|
|00005f80| 68 69 6e 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |hin the |document|
|00005f90| 2e 20 41 20 74 61 67 20 | 63 61 6e 6e 6f 74 20 68 |. A tag |cannot h|
|00005fa0| 61 76 65 20 61 6e 20 22 | 69 64 22 20 61 74 74 72 |ave an "|id" attr|
|00005fb0| 69 62 75 74 65 20 74 68 | 61 74 20 68 61 73 20 61 |ibute th|at has a|
|00005fc0| 6c 72 65 61 64 79 20 62 | 65 65 6e 20 75 73 65 64 |lready b|een used|
|00005fd0| 2e 27 2c 20 67 65 74 41 | 74 74 56 61 6c 75 65 4c |.', getA|ttValueL|
|00005fe0| 6f 63 61 74 69 6f 6e 28 | 24 69 6e 64 65 78 29 29 |ocation(|$index))|
|00005ff0| 3b 0d 0a 20 20 20 20 7d | 0d 0a 20 20 20 20 65 6c |;.. }|.. el|
|00006000| 73 65 20 7b 0d 0a 20 20 | 20 20 20 4d 65 73 73 61 |se {.. | Messa|
|00006010| 67 65 45 78 28 31 33 2c | 20 32 30 30 33 30 33 31 |geEx(13,| 2003031|
|00006020| 37 30 34 2c 20 24 4d 53 | 47 5f 45 52 52 4f 52 2c |704, $MS|G_ERROR,|
|00006030| 20 27 54 68 65 20 22 69 | 64 22 20 6f 72 20 22 6e | 'The "i|d" or "n|
|00006040| 61 6d 65 22 20 61 74 74 | 72 69 62 75 74 65 20 76 |ame" att|ribute v|
|00006050| 61 6c 75 65 20 22 27 20 | 2b 20 24 76 61 6c 75 65 |alue "' |+ $value|
|00006060| 20 2b 20 27 22 20 68 61 | 73 20 61 6c 72 65 61 64 | + '" ha|s alread|
|00006070| 79 20 62 65 65 6e 20 75 | 73 65 64 20 69 6e 20 74 |y been u|sed in t|
|00006080| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 2e 20 41 20 |his docu|ment. A |
|00006090| 74 61 67 27 20 2b 20 22 | 27 22 20 2b 20 27 73 20 |tag' + "|'" + 's |
|000060a0| 22 69 64 22 20 6f 72 20 | 22 6e 61 6d 65 22 20 76 |"id" or |"name" v|
|000060b0| 61 6c 75 65 20 28 22 6e | 61 6d 65 22 20 6f 6e 6c |alue ("n|ame" onl|
|000060c0| 79 20 66 6f 72 20 63 65 | 72 74 61 69 6e 20 65 6c |y for ce|rtain el|
|000060d0| 65 6d 65 6e 74 73 20 73 | 75 63 68 20 61 73 20 22 |ements s|uch as "|
|000060e0| 61 22 29 20 6d 75 73 74 | 20 62 65 20 75 6e 69 71 |a") must| be uniq|
|000060f0| 75 65 20 77 69 74 68 69 | 6e 20 74 68 65 20 64 6f |ue withi|n the do|
|00006100| 63 75 6d 65 6e 74 2e 20 | 41 20 74 61 67 20 63 61 |cument. |A tag ca|
|00006110| 6e 6e 6f 74 20 68 61 76 | 65 20 61 6e 20 22 69 64 |nnot hav|e an "id|
|00006120| 22 20 6f 72 2c 20 77 69 | 74 68 20 63 65 72 74 61 |" or, wi|th certa|
|00006130| 69 6e 20 65 6c 65 6d 65 | 6e 74 73 2c 20 61 20 22 |in eleme|nts, a "|
|00006140| 6e 61 6d 65 22 20 61 74 | 74 72 69 62 75 74 65 20 |name" at|tribute |
|00006150| 76 61 6c 75 65 20 74 68 | 61 74 20 68 61 73 20 61 |value th|at has a|
|00006160| 6c 72 65 61 64 79 20 62 | 65 65 6e 20 75 73 65 64 |lready b|een used|
|00006170| 2e 20 4e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 |. Note t|hat the |
|00006180| 22 69 64 22 20 76 61 6c | 75 65 73 20 61 72 65 20 |"id" val|ues are |
|00006190| 6e 6f 74 20 63 61 73 65 | 20 73 65 6e 73 69 74 69 |not case| sensiti|
|000061a0| 76 65 20 28 65 78 63 65 | 70 74 20 77 68 65 6e 20 |ve (exce|pt when |
|000061b0| 75 73 65 64 20 74 6f 20 | 6c 69 6e 6b 20 74 6f 20 |used to |link to |
|000061c0| 61 6e 20 61 6e 63 68 6f | 72 29 20 61 6e 64 20 74 |an ancho|r) and t|
|000061d0| 68 61 74 20 22 69 64 22 | 20 61 6e 64 20 73 6f 6d |hat "id"| and som|
|000061e0| 65 20 22 6e 61 6d 65 22 | 20 61 74 74 72 69 62 75 |e "name"| attribu|
|000061f0| 74 65 20 76 61 6c 75 65 | 73 20 73 68 61 72 65 20 |te value|s share |
|00006200| 74 68 65 20 73 61 6d 65 | 20 6e 61 6d 65 73 70 61 |the same| namespa|
|00006210| 63 65 2e 27 2c 20 67 65 | 74 41 74 74 56 61 6c 75 |ce.', ge|tAttValu|
|00006220| 65 4c 6f 63 61 74 69 6f | 6e 28 24 69 6e 64 65 78 |eLocatio|n($index|
|00006230| 29 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 20 7d |));.. | }.. }|
|00006240| 0d 0a 20 20 7d 0d 0a 0d | 0a 20 20 69 66 20 28 20 |.. }...|. if ( |
|00006250| 24 65 72 72 6f 72 3d 3d | 30 20 29 20 7b 0d 0a 20 |$error==|0 ) {.. |
|00006260| 20 20 24 69 64 61 74 74 | 75 73 65 64 74 79 70 65 | $idatt|usedtype|
|00006270| 61 72 72 61 79 5b 24 6e | 75 6d 69 64 61 74 74 75 |array[$n|umidattu|
|00006280| 73 65 64 5d 3d 24 69 64 | 74 79 70 65 3b 0d 0a 20 |sed]=$id|type;.. |
|00006290| 20 20 24 69 64 61 74 74 | 75 73 65 64 61 72 72 61 | $idatt|usedarra|
|000062a0| 79 5b 24 6e 75 6d 69 64 | 61 74 74 75 73 65 64 5d |y[$numid|attused]|
|000062b0| 3d 24 76 61 6c 75 65 3b | 0d 0a 20 20 20 24 6e 75 |=$value;|.. $nu|
|000062c0| 6d 69 64 61 74 74 75 73 | 65 64 2b 2b 3b 0d 0a 20 |midattus|ed++;.. |
|000062d0| 20 7d 0d 0a 20 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e | }.. }..|}....fun|
|000062e0| 63 74 69 6f 6e 20 41 57 | 52 61 6e 67 65 43 68 65 |ction AW|RangeChe|
|000062f0| 63 6b 28 29 20 7b 0d 0a | 20 40 41 57 52 61 6e 67 |ck() {..| @AWRang|
|00006300| 65 43 68 65 63 6b 33 28 | 29 3b 0d 0a 20 23 64 69 |eCheck3(|);.. #di|
|00006310| 73 70 6c 61 79 3d 30 3b | 0d 0a 0d 0a 20 69 66 20 |splay=0;|.... if |
|00006320| 28 20 69 73 46 6c 61 67 | 53 65 74 28 32 38 29 20 |( isFlag|Set(28) |
|00006330| 29 20 7b 0d 0a 20 20 24 | 69 73 69 6e 72 61 6e 67 |) {.. $|isinrang|
|00006340| 65 74 61 67 3d 69 73 49 | 6e 52 61 6e 67 65 45 78 |etag=isI|nRangeEx|
|00006350| 28 31 2c 20 22 74 74 22 | 2c 20 22 69 22 2c 20 22 |(1, "tt"|, "i", "|
|00006360| 62 22 2c 20 22 62 69 67 | 22 2c 20 22 73 6d 61 6c |b", "big|", "smal|
|00006370| 6c 22 2c 20 22 65 6d 22 | 2c 20 22 73 74 72 6f 6e |l", "em"|, "stron|
|00006380| 67 22 2c 20 22 64 66 6e | 22 2c 20 22 63 6f 64 65 |g", "dfn|", "code|
|00006390| 22 2c 20 22 73 61 6d 70 | 22 2c 20 22 6b 62 64 22 |", "samp|", "kbd"|
|000063a0| 2c 20 22 76 61 72 22 2c | 20 22 63 69 74 65 22 2c |, "var",| "cite",|
|000063b0| 20 22 61 62 62 72 22 2c | 20 22 61 63 72 6f 6e 79 | "abbr",| "acrony|
|000063c0| 6d 22 2c 20 22 61 22 2c | 20 22 71 22 2c 20 22 73 |m", "a",| "q", "s|
|000063d0| 75 62 22 2c 20 22 73 75 | 70 22 2c 20 22 73 70 61 |ub", "su|p", "spa|
|000063e0| 6e 22 2c 20 22 62 64 6f | 22 2c 20 22 73 65 6c 65 |n", "bdo|", "sele|
|000063f0| 63 74 22 2c 20 22 74 65 | 78 74 61 72 65 61 22 2c |ct", "te|xtarea",|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.